aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2012-03-27 14:52:37 -0400
committerRobert Haas <rhaas@postgresql.org>2012-03-27 14:55:02 -0400
commit40b9b957694cf7749c420c6c51a7e1d3c9b1fec1 (patch)
treeab94826c3e20f7fe0a63edb3370be8a8988fd31f /doc/src
parent98316e211b60cb160247171e3557b40a247c4610 (diff)
downloadpostgresql-40b9b957694cf7749c420c6c51a7e1d3c9b1fec1.tar.gz
postgresql-40b9b957694cf7749c420c6c51a7e1d3c9b1fec1.zip
New GUC, track_iotiming, to track I/O timings.
Currently, the only way to see the numbers this gathers is via EXPLAIN (ANALYZE, BUFFERS), but the plan is to add visibility through the stats collector and pg_stat_statements in subsequent patches. Ants Aasma, reviewed by Greg Smith, with some further changes by me.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 3e178759a29..9baaa3fb36a 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -4284,6 +4284,21 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
</listitem>
</varlistentry>
+ <varlistentry id="guc-track-iotiming" xreflabel="track_iotiming">
+ <term><varname>track_iotiming</varname> (<type>boolean</type>)</term>
+ <indexterm>
+ <primary><varname>track_iotiming</> configuration parameter</primary>
+ </indexterm>
+ <listitem>
+ <para>
+ Enables timing of database I/O calls. This parameter is off by
+ default, because it will repeatedly query the operating system for
+ the current time, which may cause significant overhead on some
+ platforms. Only superusers can change this setting.
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="guc-track-functions" xreflabel="track_functions">
<term><varname>track_functions</varname> (<type>enum</type>)</term>
<indexterm>