postgres.git / summary / log / commit / refs
commit 07ab261ef3a9575a4a2bd3045b222d7b3dee2c46
Author: Robert Haas <rhaas@postgresql.org>
Date: Wed May 29 11:11:21 2013 +0000
First released in: 9.3.0, 9.2.5
Document auto_explain.log_timing.
Tomas Vondra
doc/src/sgml/auto-explain.sgml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/doc/src/sgml/auto-explain.sgml b/doc/src/sgml/auto-explain.sgml
index 8325f0371d1..03b2309da8f 100644
--- a/doc/src/sgml/auto-explain.sgml
+++ b/doc/src/sgml/auto-explain.sgml
@@ -139,6 +139,27 @@ LOAD 'auto_explain';
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <varname>auto_explain.log_timing</varname> (<type>boolean</type>)
+ </term>
+ <indexterm>
+ <primary><varname>auto_explain.log_timing</> configuration parameter</primary>
+ </indexterm>
+ <listitem>
+ <para>
+ <varname>auto_explain.log_timing</varname> causes <command>EXPLAIN
+ (ANALYZE, TIMING off)</> output, rather than just <command>EXPLAIN (ANALYZE)</>
+ output. The overhead of repeatedly reading the system clock can slow down the
+ query significantly on some systems, so it may be useful to set this
+ parameter to <literal>FALSE</literal> when only actual row counts, and not
+ exact times, are needed.
+ This parameter is only effective when <varname>auto_explain.log_analyze</varname>
+ is also enabled. It defaults to <literal>TRUE</literal>.
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry>
<term>
<varname>auto_explain.log_nested_statements</varname> (<type>boolean</type>)
[parent: f80e55054bb4]