mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Document auto_explain.log_timing.
Tomas Vondra
This commit is contained in:
parent
02230d3cd0
commit
47ebaba6b4
@ -139,6 +139,27 @@ LOAD 'auto_explain';
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</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>
|
<varlistentry>
|
||||||
<term>
|
<term>
|
||||||
<varname>auto_explain.log_nested_statements</varname> (<type>boolean</type>)
|
<varname>auto_explain.log_nested_statements</varname> (<type>boolean</type>)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user