PostgreSQL

Postgres 16: Cumulative I/O statistics with pg_stat_io

A new pg_stat_io view providing cumulative I/O statistics has been committed to the upcoming Postgres 16, authored by Melanie Plageman, committed by Andres Freund and documented by Samay Sharma. It aims to give a fuller picture of server I/O, which Postgres splits between WAL writes and data directory reads and writes. Tracking which process writes to the data directory after commit has historically been hard, a problem made costlier in the cloud by provisioned IOPS or per-I/O billing such as on Amazon Aurora.

AI-written summary, checked against the cited sources. How summaries work

Image: pganalyze

Read at pganalyze