Improve logging of autovacuum I/O activity
Alvaro Herrera <alvherre@alvh.no-ip.org>
Improve logging of autovacuum I/O activity This adds some I/O stats to the logging of autovacuum (when the operation takes long enough that log_autovacuum_min_duration causes it to be logged), so that it is easier to tune. Notably, it adds buffer I/O counts (hits, misses, dirtied) and read and write rate. Authors: Greg Smith and Noah Misch
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/vacuum.c | modified | +3 −0 |
| src/backend/commands/vacuumlazy.c | modified | +28 −4 |
| src/backend/storage/buffer/bufmgr.c | modified | +15 −5 |
| src/backend/utils/init/globals.c | modified | +4 −0 |
| src/include/miscadmin.h | modified | +4 −0 |