Expose track_iotiming data via the statistics collector.
Robert Haas <rhaas@postgresql.org>
Expose track_iotiming data via the statistics collector. Ants Aasma's original patch to add timing information for buffer I/O requests exposed this data at the relation level, which was judged too costly. I've here exposed it at the database level instead.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/config.sgml | modified | +5 −2 |
| doc/src/sgml/monitoring.sgml | modified | +19 −0 |
| src/backend/catalog/system_views.sql | modified | +2 −0 |
| src/backend/postmaster/pgstat.c | modified | +14 −2 |
| src/backend/storage/buffer/bufmgr.c | modified | +7 −3 |
| src/backend/utils/adt/pgstatfuncs.c | modified | +32 −0 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.h | modified | +4 −0 |
| src/include/pgstat.h | modified | +14 −0 |
| src/test/regress/expected/rules.out | modified | +1 −1 |