{"Entry":{"collection":"metric","key":"pg_stat_wal-wal_write","name":"pg_stat_wal.wal_write","aliases":["wal_write","pg_stat_wal"],"metadata":{"aliases":["wal_write","pg_stat_wal"],"category":"pg_stat_wal","content_hash":"4706ed633544b0c83aed0c867517883d5f6265d87c5220288310e8a11eb8e03c","imported_at":"2026-09-30T00:40:46.488042+08:00","name":"pg_stat_wal.wal_write","name_zh":"","slug":"pg_stat_wal-wal_write","summary":"Number of times WAL buffers were written out to disk via XLogWrite request. See Section 28.5 for more information about the internal WAL function XLogWrite."}},"Definition":{"Collection":"metric","Key":"pg_stat_wal-wal_write","SourceDatabase":"center","Version":"17","SourceTable":"statistics_metric","SourceKey":"pg_stat_wal-wal_write","SourceRevision":"dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979","Facts":{"comparison_data":{"field":"wal_write","sql_type":"bigint","units_mentioned":[],"view":"pg_stat_wal"},"comparison_hash":"70030ad93d7ad90edd1561f93a9aaf67563544cb13569d8bab9da3a4c44db91f","description":["Number of times WAL buffers were written out to disk via XLogWrite request. See Section 28.5 for more information about the internal WAL function XLogWrite."],"documented":true,"facts":[{"label":"View","value":"pg_stat_wal"},{"label":"Field","value":"wal_write"},{"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":"wal_write","manual_html":"","manual_path":"/docs/17/monitoring-stats.html","related":[{"label":"pg_stat_wal columns","url":"/wiki/catalog/pg_stat_wal/?v=17"},{"label":"Statistics collection and reset functions","url":"/docs/17/monitoring-stats.html"}],"release":{"channel":"stable","label":"17.11","major":"17","ref":"https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2","revision":"dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"},"sections":[{"paragraphs":["The pg_stat_wal view will always have a single row, containing data about WAL activity 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 wal_write FROM pg_catalog.pg_stat_wal;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"signature":"SELECT wal_write FROM pg_catalog.pg_stat_wal;","source_only":false,"sources":[{"label":"PostgreSQL 17 English manual","path":"monitoring-stats.html","sha256":"007af6e8ab39b925963273ec3ba7f06f8ee6fbfaad821f07a1dc78383dbb9b99","url":"/docs/17/monitoring-stats.html#PG-STAT-WAL-VIEW"}],"sql_type":"bigint","tables":[],"units_mentioned":[],"view":"pg_stat_wal"},"ManualEvidence":{"manual_path":"/docs/17/monitoring-stats.html","release":{"channel":"stable","label":"17.11","major":"17","ref":"https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2","revision":"dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"},"sources":[{"label":"PostgreSQL 17 English manual","path":"monitoring-stats.html","sha256":"007af6e8ab39b925963273ec3ba7f06f8ee6fbfaad821f07a1dc78383dbb9b99","url":"/docs/17/monitoring-stats.html#PG-STAT-WAL-VIEW"}]},"MeasuredEvidence":{}},"Text":{"Collection":"metric","Key":"pg_stat_wal-wal_write","SourceDatabase":"center","Version":"17","Locale":"en","Title":"pg_stat_wal.wal_write","Summary":"Number of times WAL buffers were written out to disk via XLogWrite request. See Section 28.5 for more information about the internal WAL function XLogWrite.","BodyHTML":"\u003cp\u003eNumber of times WAL buffers were written out to disk via XLogWrite request. See Section 28.5 for more information about the internal WAL function XLogWrite.\u003c/p\u003e","SourceRevision":"dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979","ContentHash":"8a71a8d16ef2297ff498d96c207b5785cb81c31015fd27eb99d66231f52c71b8","Payload":{"description":["Number of times WAL buffers were written out to disk via XLogWrite request. See Section 28.5 for more information about the internal WAL function XLogWrite."],"manual_html":"","related":[{"label":"pg_stat_wal columns","url":"/wiki/catalog/pg_stat_wal/?v=17"},{"label":"Statistics collection and reset functions","url":"/docs/17/monitoring-stats.html"}],"sections":[{"paragraphs":["The pg_stat_wal view will always have a single row, containing data about WAL activity 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 wal_write FROM pg_catalog.pg_stat_wal;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"tables":[]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["14","15","16","17"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
