{"Entry":{"collection":"metric","key":"pg_stat_wal-wal_sync","name":"pg_stat_wal.wal_sync","aliases":["wal_sync","pg_stat_wal"],"metadata":{"aliases":["wal_sync","pg_stat_wal"],"category":"pg_stat_wal","content_hash":"0e55b9af3931a33189e3310f39db5f9764a024cb0144a7940c2ec5109fa20be6","imported_at":"2026-09-30T00:40:46.482932+08:00","name":"pg_stat_wal.wal_sync","name_zh":"","slug":"pg_stat_wal-wal_sync","summary":"Number of times WAL files were synced to disk via issue_xlog_fsync request (if fsync is on and wal_sync_method is either fdatasync, fsync or fsync_writethrough, otherwise zero). See Section 28.5 for more information about the internal WAL function issue_xlog_fsync."}},"Definition":{"Collection":"metric","Key":"pg_stat_wal-wal_sync","SourceDatabase":"center","Version":"17","SourceTable":"statistics_metric","SourceKey":"pg_stat_wal-wal_sync","SourceRevision":"dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979","Facts":{"comparison_data":{"field":"wal_sync","sql_type":"bigint","units_mentioned":[],"view":"pg_stat_wal"},"comparison_hash":"dce25667b3ebde0d5939be945cf2c4e3b7a9875010cc4109d3cbc77ab990a5a5","description":["Number of times WAL files were synced to disk via issue_xlog_fsync request (if fsync is on and wal_sync_method is either fdatasync, fsync or fsync_writethrough, otherwise zero). See Section 28.5 for more information about the internal WAL function issue_xlog_fsync."],"documented":true,"facts":[{"label":"View","value":"pg_stat_wal"},{"label":"Field","value":"wal_sync"},{"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_sync","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_sync FROM pg_catalog.pg_stat_wal;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"signature":"SELECT wal_sync 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_sync","SourceDatabase":"center","Version":"17","Locale":"en","Title":"pg_stat_wal.wal_sync","Summary":"Number of times WAL files were synced to disk via issue_xlog_fsync request (if fsync is on and wal_sync_method is either fdatasync, fsync or fsync_writethrough, otherwise zero). See Section 28.5 for more information about the internal WAL function issue_xlog_fsync.","BodyHTML":"\u003cp\u003eNumber of times WAL files were synced to disk via issue_xlog_fsync request (if fsync is on and wal_sync_method is either fdatasync, fsync or fsync_writethrough, otherwise zero). See Section 28.5 for more information about the internal WAL function issue_xlog_fsync.\u003c/p\u003e","SourceRevision":"dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979","ContentHash":"ac7ee8c69352c38a2a28d5ef60b3316d52bb1784e486c665f8a9d3f26826a883","Payload":{"description":["Number of times WAL files were synced to disk via issue_xlog_fsync request (if fsync is on and wal_sync_method is either fdatasync, fsync or fsync_writethrough, otherwise zero). See Section 28.5 for more information about the internal WAL function issue_xlog_fsync."],"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_sync 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}
