- name: bgwriter type: group description: > Statistics about the background writer process's activity. Collected using the pg_stat_bgwriter query. release: ga fields: - name: checkpoints.scheduled type: long description: > Number of scheduled checkpoints that have been performed. - name: checkpoints.requested type: long description: > Number of requested checkpoints that have been performed. - name: checkpoints.times.write.ms type: float description: > Total amount of time that has been spent in the portion of checkpoint processing where files are written to disk, in milliseconds. - name: checkpoints.times.sync.ms type: float description: > Total amount of time that has been spent in the portion of checkpoint processing where files are synchronized to disk, in milliseconds. - name: buffers.checkpoints type: long description: > Number of buffers written during checkpoints. - name: buffers.clean type: long description: > Number of buffers written by the background writer. - name: buffers.clean_full type: long description: > Number of times the background writer stopped a cleaning scan because it had written too many buffers. - name: buffers.backend type: long description: > Number of buffers written directly by a backend. - name: buffers.backend_fsync type: long description: > Number of times a backend had to execute its own fsync call (normally the background writer handles those even when the backend does its own write) - name: buffers.allocated type: long description: > Number of buffers allocated. - name: stats_reset type: date description: > Time at which these statistics were last reset.