Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f760a8b

Browse files
committed
Clarify runtime pruning in EXPLAIN
Author: Amit Langote Reviewed-by: David Rowley Discussion: https://postgr.es/m/002dec69-9afb-b621-5630-235eceafe0bd@lab.ntt.co.jp
1 parent f88dd4f commit f760a8b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/src/sgml/ddl.sgml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3921,8 +3921,12 @@ EXPLAIN SELECT count(*) FROM measurement WHERE logdate >= DATE '2008-01-01';
39213921
query, partition pruning is performed whenever one of the
39223922
execution parameters being used by partition pruning changes.
39233923
Determining if partitions were pruned during this phase requires
3924-
careful inspection of the <literal>nloops</literal> property in
3925-
the <command>EXPLAIN ANALYZE</command> output.
3924+
careful inspection of the <literal>loops</literal> property in
3925+
the <command>EXPLAIN ANALYZE</command> output. Subplans
3926+
corresponding to different partitions may have different values
3927+
for it depending on how many times each of them was pruned during
3928+
execution. Some may be shown as <literal>(never executed)</literal>
3929+
if they were pruned every time.
39263930
</para>
39273931
</listitem>
39283932
</itemizedlist>

0 commit comments

Comments
 (0)