pg_stat_io
pg_stat_io view reporting I/O by backend type, object and context, later extended with timings, byte counts, WAL I/O and more process types. Introduced in PostgreSQL 16.
Versions
- PostgreSQL 20 · worked-on · improved · moderate
- PostgreSQL 19 · worked-on · improved · moderate
- PostgreSQL 18 · shipped · improved · moderate · 9 commits · +446 / -175 lines
- PostgreSQL 17 · shipped · improved · moderate · 1 commit · +22 / -12 lines
- PostgreSQL 16 · shipped · improved · moderate · 2 commits · +308 / -107 lines
Threads
- Assertion failure with temporary relations in single-user mode
- pg_stat_io_histogram
- [Patch] Fix typo in pg_stat_us_to_ms()
- faulty error handling around pgstat_count_io_op_time()
- md: measure just FileSync() for pgstat_io without FileClose()
- [BUG]: the walsender does not update its IO statistics until it exits
- stats.sql might fail due to shared buffers also used by parallel tests
- stats.sql fails during installcheck on mac
- Show WAL write and fsync stats in pg_stat_io
- Add regression test checking combinations of (object,backend_type,context) in pg_stat_io
- Monitoring gaps in XLogWalRcvWrite() for the WAL receiver
- Remove wal_[sync|write][_time] from pg_stat_wal and track_wal_io_timing
- Make pg_stat_io view count IOs as bytes instead of blocks
- Removing the pgstat_flush_io() call from the walwriter
- Remove one TimestampTzGetDatum call in pg_stat_get_io()
- Track IO times in pg_stat_io
- Doc: fix track_io_timing description to mention pg_stat_io
- New instability in stats regression test
- stats test intermittent failure
- Is a pg_stat_force_next_flush() call sufficient for regression tests?
- pg_stat_io for the startup process
- [16Beta1][doc] Add BackendType for standalone backends
- pg_stat_io not tracking smgrwriteback() is confusing
- pg_stat_bgwriter.buffers_backend is pretty meaningless (and more?)
- Remove io prefix from pg_stat_io columns
- Add shared buffer hits to pg_stat_io
- pgsql: pgstat: Track more detailed relation IO statistics