diff options
author | Robert Haas <rhaas@postgresql.org> | 2012-03-27 14:52:37 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2012-03-27 14:55:02 -0400 |
commit | 40b9b957694cf7749c420c6c51a7e1d3c9b1fec1 (patch) | |
tree | ab94826c3e20f7fe0a63edb3370be8a8988fd31f /src/include/storage/bufmgr.h | |
parent | 98316e211b60cb160247171e3557b40a247c4610 (diff) | |
download | postgresql-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 'src/include/storage/bufmgr.h')
-rw-r--r-- | src/include/storage/bufmgr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h index de1bbd01d83..d72bad9f561 100644 --- a/src/include/storage/bufmgr.h +++ b/src/include/storage/bufmgr.h @@ -48,6 +48,7 @@ extern PGDLLIMPORT int NBuffers; extern bool zero_damaged_pages; extern int bgwriter_lru_maxpages; extern double bgwriter_lru_multiplier; +extern bool track_iotiming; extern int target_prefetch_pages; /* in buf_init.c */ |