{"Entry":{"collection":"metric","key":"pg_stat_wal-wal_write_time","name":"pg_stat_wal.wal_write_time","aliases":["wal_write_time","pg_stat_wal"],"metadata":{"aliases":["wal_write_time","pg_stat_wal"],"category":"pg_stat_wal","content_hash":"3517891cb9831490609b8d933c397a8cccd979c32b357ff7f4b94381aa04f3c8","imported_at":"2026-09-30T00:40:46.491203+08:00","name":"pg_stat_wal.wal_write_time","name_zh":"","slug":"pg_stat_wal-wal_write_time","summary":"Total amount of time spent writing WAL buffers to disk via XLogWrite request, in milliseconds (if track_wal_io_timing is enabled, otherwise zero). This includes the sync time when wal_sync_method is either open_datasync or open_sync."}},"Definition":{"Collection":"metric","Key":"pg_stat_wal-wal_write_time","SourceDatabase":"center","Version":"17","SourceTable":"statistics_metric","SourceKey":"pg_stat_wal-wal_write_time","SourceRevision":"dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979","Facts":{"comparison_data":{"field":"wal_write_time","sql_type":"double precision","units_mentioned":["milliseconds"],"view":"pg_stat_wal"},"comparison_hash":"5155b54fd053b56a5dfd3a7ec84967dc14d3e258369f52ac044c0d3f7432e285","description":["Total amount of time spent writing WAL buffers to disk via XLogWrite request, in milliseconds (if track_wal_io_timing is enabled, otherwise zero). This includes the sync time when wal_sync_method is either open_datasync or open_sync."],"documented":true,"facts":[{"label":"View","value":"pg_stat_wal"},{"label":"Field","value":"wal_write_time"},{"label":"SQL type","value":"double precision"},{"label":"Units named in the field definition","value":"milliseconds"},{"label":"Reset observation","value":"Time at which these statistics were last reset"}],"field":"wal_write_time","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_time 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_time 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":"double precision","tables":[],"units_mentioned":["milliseconds"],"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_time","SourceDatabase":"center","Version":"17","Locale":"en","Title":"pg_stat_wal.wal_write_time","Summary":"Total amount of time spent writing WAL buffers to disk via XLogWrite request, in milliseconds (if track_wal_io_timing is enabled, otherwise zero). This includes the sync time when wal_sync_method is either open_datasync or open_sync.","BodyHTML":"\u003cp\u003eTotal amount of time spent writing WAL buffers to disk via XLogWrite request, in milliseconds (if track_wal_io_timing is enabled, otherwise zero). This includes the sync time when wal_sync_method is either open_datasync or open_sync.\u003c/p\u003e","SourceRevision":"dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979","ContentHash":"6e67cf5a9f330500c11f9f0f09a971eb57c1d913545ea1bc49be337ce6f3be4d","Payload":{"description":["Total amount of time spent writing WAL buffers to disk via XLogWrite request, in milliseconds (if track_wal_io_timing is enabled, otherwise zero). This includes the sync time when wal_sync_method is either open_datasync or open_sync."],"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_time 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}
