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

Commit 321fa6a

Browse files
committed
doc: Add note about possible performance overhead by enabling track_planning.
Enabling pg_stat_statements.track_plaanning may incur a noticeable performance penalty, especially when a fewer kinds of queries are executed on many concurrent connections. This commit documents this note. Back-patch to v13 where pg_stat_statements.track_plaanning was added. Suggested-by: Pavel Stehule Author: Fujii Masao Reviewed-by: Pavel Stehule Discussion: https://postgr.es/m/CAFj8pRC9Jxa8r5i0TNBWLb8mzuaYzEoLq3QOvip0jVpHPOLbVA@mail.gmail.com
1 parent aa38434 commit 321fa6a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/src/sgml/pgstatstatements.sgml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,9 @@
607607
<para>
608608
<varname>pg_stat_statements.track_planning</varname> controls whether
609609
planning operations and duration are tracked by the module.
610+
Enabling this parameter may incur a noticeable performance penalty,
611+
especially when a fewer kinds of queries are executed on many
612+
concurrent connections.
610613
The default value is <literal>off</literal>.
611614
Only superusers can change this setting.
612615
</para>

0 commit comments

Comments
 (0)