EXPLAIN I/O reporting
Query-level I/O diagnostics in EXPLAIN, including scan I/O metrics and storage read and write accounting for planning and execution.
Versions
- PostgreSQL 20 · worked-on · improved · moderate
- PostgreSQL 19 · worked-on · improved · moderate
- PostgreSQL 18 · shipped · improved · minor · 4 commits · +291 / -231 lines
- PostgreSQL 17 · shipped · improved · moderate · 3 commits · +172 / -97 lines
Threads
- RFC: Allow EXPLAIN to Output Page Fault Information
- Proposals for EXPLAIN: rename ANALYZE to EXECUTE and extend VERBOSE
- Add time spent in posix_fadvise() in I/O read time ?
- pgBufferUsage.blk_{read|write}_time are zero although there are pgBufferUsage.local_blks_{read|written}
- BUFFERS enabled by default in EXPLAIN (ANALYZE)
- Showing I/O timings spent reading/writing temp buffers in EXPLAIN
- Buffer usage in EXPLAIN and pg_stat_statements (review)