New GUC, track_iotiming, to track I/O timings.
Robert Haas <rhaas@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/config.sgml | modified | +15 −0 |
| src/backend/commands/explain.c | modified | +18 −0 |
| src/backend/executor/instrument.c | modified | +2 −0 |
| src/backend/storage/buffer/bufmgr.c | modified | +24 −0 |
| src/backend/utils/misc/guc.c | modified | +9 −0 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +1 −0 |
| src/include/executor/instrument.h | modified | +2 −0 |
| src/include/storage/bufmgr.h | modified | +1 −0 |