{"Entry":{"collection":"metric","key":"pg_stat_bgwriter-maxwritten_clean","name":"pg_stat_bgwriter.maxwritten_clean","aliases":["maxwritten_clean","pg_stat_bgwriter"],"metadata":{"aliases":["maxwritten_clean","pg_stat_bgwriter"],"category":"pg_stat_bgwriter","content_hash":"862fe1e92d0d01a96177df7d3eb38c8300a498cc1d0b43f28902b9bd77292952","imported_at":"2026-09-30T00:40:45.486982+08:00","name":"pg_stat_bgwriter.maxwritten_clean","name_zh":"","slug":"pg_stat_bgwriter-maxwritten_clean","summary":"Number of times the background writer stopped a cleaning scan because it had written too many buffers"}},"Definition":{"Collection":"metric","Key":"pg_stat_bgwriter-maxwritten_clean","SourceDatabase":"center","Version":"18","SourceTable":"statistics_metric","SourceKey":"pg_stat_bgwriter-maxwritten_clean","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"comparison_data":{"field":"maxwritten_clean","sql_type":"bigint","units_mentioned":[],"view":"pg_stat_bgwriter"},"comparison_hash":"d41caf2c6bc027d82269a2a4b5fbcb74b7abf3419ec1415ac9fa9226f6cac6ed","description":["Number of times the background writer stopped a cleaning scan because it had written too many buffers"],"documented":true,"facts":[{"label":"View","value":"pg_stat_bgwriter"},{"label":"Field","value":"maxwritten_clean"},{"label":"SQL type","value":"bigint"},{"label":"Units named in the field definition","value":"Not specified"},{"label":"Reset observation","value":"Time at which these statistics were last reset"}],"field":"maxwritten_clean","manual_html":"","manual_path":"/docs/18/monitoring-stats.html","related":[{"label":"pg_stat_bgwriter columns","url":"/wiki/catalog/pg_stat_bgwriter/?v=18"},{"label":"Statistics collection and reset functions","url":"/docs/18/monitoring-stats.html"}],"release":{"channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sections":[{"paragraphs":["The pg_stat_bgwriter view will always have a single row, containing data about the background writer of the cluster."],"title":"View semantics"},{"paragraphs":["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."],"title":"Collection and reset context"},{"code":"SELECT maxwritten_clean FROM pg_catalog.pg_stat_bgwriter;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"signature":"SELECT maxwritten_clean FROM pg_catalog.pg_stat_bgwriter;","source_only":false,"sources":[{"label":"PostgreSQL 18 English manual","path":"monitoring-stats.html","sha256":"aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722","url":"/docs/18/monitoring-stats.html#PG-STAT-BGWRITER-VIEW"}],"sql_type":"bigint","tables":[],"units_mentioned":[],"view":"pg_stat_bgwriter"},"ManualEvidence":{"manual_path":"/docs/18/monitoring-stats.html","release":{"channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sources":[{"label":"PostgreSQL 18 English manual","path":"monitoring-stats.html","sha256":"aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722","url":"/docs/18/monitoring-stats.html#PG-STAT-BGWRITER-VIEW"}]},"MeasuredEvidence":{}},"Text":{"Collection":"metric","Key":"pg_stat_bgwriter-maxwritten_clean","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_stat_bgwriter.maxwritten_clean","Summary":"Number of times the background writer stopped a cleaning scan because it had written too many buffers","BodyHTML":"\u003cp\u003eNumber of times the background writer stopped a cleaning scan because it had written too many buffers\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"19582ff11bf6e5ba24d6ac76829a06f978718d8cf49080689837aaa3cf8580d2","Payload":{"description":["Number of times the background writer stopped a cleaning scan because it had written too many buffers"],"manual_html":"","related":[{"label":"pg_stat_bgwriter columns","url":"/wiki/catalog/pg_stat_bgwriter/?v=18"},{"label":"Statistics collection and reset functions","url":"/docs/18/monitoring-stats.html"}],"sections":[{"paragraphs":["The pg_stat_bgwriter view will always have a single row, containing data about the background writer of the cluster."],"title":"View semantics"},{"paragraphs":["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."],"title":"Collection and reset context"},{"code":"SELECT maxwritten_clean FROM pg_catalog.pg_stat_bgwriter;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"tables":[]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["10","11","12","13","14","15","16","17","18","19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
