|
|
|
@ -1,5 +1,5 @@ |
|
|
|
<!-- |
|
|
|
<!-- |
|
|
|
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.332 2005/06/26 19:16:04 tgl Exp $ |
|
|
|
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.333 2005/07/01 13:29:23 momjian Exp $ |
|
|
|
--> |
|
|
|
--> |
|
|
|
|
|
|
|
|
|
|
|
<chapter Id="runtime"> |
|
|
|
<chapter Id="runtime"> |
|
|
|
@ -2628,16 +2628,17 @@ archive_command = 'copy "%p" /mnt/server/archivedir/"%f"' # Windows |
|
|
|
</indexterm> |
|
|
|
</indexterm> |
|
|
|
<listitem> |
|
|
|
<listitem> |
|
|
|
<para> |
|
|
|
<para> |
|
|
|
Sets a minimum statement execution time (in milliseconds) |
|
|
|
Logs the statement and its duration on a single log line if its |
|
|
|
that causes a statement to be logged. All SQL statements |
|
|
|
duration is greater than or equal to the specified number of |
|
|
|
that run for the time specified or longer will be logged with |
|
|
|
milliseconds. Setting this to zero will print all statements |
|
|
|
their duration. Setting this to zero will print |
|
|
|
and their durations. Minus-one (the default) disables the |
|
|
|
all queries and their durations. Minus-one (the default) |
|
|
|
feature. For example, if you set it to <literal>250</literal> |
|
|
|
disables the feature. For example, if you set it to |
|
|
|
then all SQL statements that run 250ms or longer will be |
|
|
|
<literal>250</literal> then all SQL statements that run 250ms |
|
|
|
logged. Enabling this option can be useful in tracking down |
|
|
|
or longer will be logged. Enabling this option can be |
|
|
|
unoptimized queries in your applications. This setting is |
|
|
|
useful in tracking down unoptimized queries in your applications. |
|
|
|
independent of <varname>log_statement</varname> and |
|
|
|
Only superusers can change this setting. |
|
|
|
<varname>log_duration</varname>. Only superusers can change |
|
|
|
|
|
|
|
this setting. |
|
|
|
</para> |
|
|
|
</para> |
|
|
|
</listitem> |
|
|
|
</listitem> |
|
|
|
</varlistentry> |
|
|
|
</varlistentry> |
|
|
|
|