1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

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.
This commit is contained in:
Robert Haas
2012-03-27 14:52:37 -04:00
parent 98316e211b
commit 40b9b95769
8 changed files with 72 additions and 0 deletions

View File

@ -1018,6 +1018,15 @@ static struct config_bool ConfigureNamesBool[] =
true,
NULL, NULL, NULL
},
{
{"track_iotiming", PGC_SUSET, STATS_COLLECTOR,
gettext_noop("Collects timing information for database IO activity."),
NULL
},
&track_iotiming,
false,
NULL, NULL, NULL
},
{
{"update_process_title", PGC_SUSET, STATS_COLLECTOR,