From: | Amit Langote <amitlangote09(at)gmail(dot)com> |
---|---|
To: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
Cc: | Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: slight tweaks to documentation about runtime pruning |
Date: | 2018-12-09 15:57:39 |
Message-ID: | CA+HiwqEeb_aD50CWTy2vM_t-WZLG6G=SWCKBuR+cjuA1HaZq7Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sun, Dec 9, 2018 at 8:13 PM David Rowley
<david(dot)rowley(at)2ndquadrant(dot)com> wrote:
> listp1 was scanned twice (loops=2), listp2 was scanned just once.
>
> Now it is true that if the subplan was executed 0 times that it will
> appear as "(never executed)", but do we really need to explain in this
> area that "(never executed)" means loops=0?
Ah, I see what you mean. So, "(never executed)" is not the only sign
of of run-time pruning occurring. The value of loops can be different
for different subplans / partitions, and it being lower for a given
subplan means that the subplan has been pruned more number of times.
Thanks,
Amit
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2018-12-09 17:48:15 | Re: pg_partition_tree crashes for a non-defined relation |
Previous Message | David Rowley | 2018-12-09 13:05:29 | Re: Should new partitions inherit their tablespace from their parent? |