{"Entry":{"collection":"catalog","key":"pg_stat_wal","name":"pg_stat_wal","aliases":[],"metadata":{"changed_in":["18","19"],"changes":[{"added":[],"attributes":[],"description_changed":false,"descriptions":[],"from":"13","order":false,"removed":[],"status":"added","to":"14","types":[]},{"added":[],"attributes":[],"description_changed":false,"descriptions":[{"from":"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 30.5 for more information about the internal WAL function issue_xlog_fsync.","name":"wal_sync","to":"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."},{"from":"Number of times WAL buffers were written out to disk via XLogWrite request. See Section 30.5 for more information about the internal WAL function XLogWrite.","name":"wal_write","to":"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."}],"from":"16","listing":[],"order":false,"removed":[],"status":"reworded","to":"17","types":[],"unlisted":[]},{"added":[],"attributes":[],"description_changed":false,"descriptions":[],"from":"17","listing":[],"order":false,"removed":["wal_write","wal_sync","wal_write_time","wal_sync_time"],"status":"changed","to":"18","types":[],"unlisted":[]},{"added":["wal_fpi_bytes"],"attributes":[],"description_changed":false,"descriptions":[],"from":"18","listing":[],"order":false,"removed":[],"status":"changed","to":"19","types":[],"unlisted":[]}],"column_count":6,"content_hash":"e939ef0a7850aa2bb63dc6b27ee2c2c0808f54dc4529298f1eb8bd8b0d7aeef5","first_version":"14","imported_at":"2026-09-30T00:40:56.04167+08:00","kind":"statistics","last_version":"20","name":"pg_stat_wal","position":115,"present_in":["14","15","16","17","18","19","20"],"relation_oid":null,"relkind":"v","shared":false,"source_rev":"english-manuals:9e12acc0a30ab462ba2ca1ac3267b32093d7666c95f53c66200e1fe690d7afd1","summary":"The pg_stat_wal view will always have a single row, containing data about WAL activity of the cluster.","summary_zh":""}},"Definition":{"Collection":"catalog","Key":"pg_stat_wal","SourceDatabase":"center","Version":"18","SourceTable":"catalog","SourceKey":"pg_stat_wal","SourceRevision":"english-manuals:9e12acc0a30ab462ba2ca1ac3267b32093d7666c95f53c66200e1fe690d7afd1","Facts":{"columns":[{"array_dimensions":0,"attnum":1,"description":"Total number of WAL records generated","description_zh":"","documented":true,"documented_name":"wal_records","hidden":false,"name":"wal_records","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":2,"description":"Total number of WAL full page images generated","description_zh":"","documented":true,"documented_name":"wal_fpi","hidden":false,"name":"wal_fpi","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":3,"description":"Total amount of WAL generated in bytes","description_zh":"","documented":true,"documented_name":"wal_bytes","hidden":false,"name":"wal_bytes","not_null":false,"references":"","type":"numeric","type_modifier":-1,"type_oid":1700},{"array_dimensions":0,"attnum":4,"description":"Number of times WAL data was written to disk because WAL buffers became full","description_zh":"","documented":true,"documented_name":"wal_buffers_full","hidden":false,"name":"wal_buffers_full","not_null":false,"references":"","type":"bigint","type_modifier":-1,"type_oid":20},{"array_dimensions":0,"attnum":5,"description":"Time at which these statistics were last reset","description_zh":"","documented":true,"documented_name":"stats_reset","hidden":false,"name":"stats_reset","not_null":false,"references":"","type":"timestamp with time zone","type_modifier":-1,"type_oid":1184}],"description":"The pg_stat_wal view will always have a single row, containing data about WAL activity of the cluster.","description_zh":"","doc":{"anchor":"PG-STAT-WAL-VIEW","file":"monitoring-stats.html","lang":"en","sha256":"aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722","slug":"18"},"kind":"statistics","lang":"en","measured_attributes":true,"metadata_release":"18.6","runtime_columns":["wal_records","wal_fpi","wal_bytes","wal_buffers_full","stats_reset"],"runtime_verified":false,"source":"english-manual"},"ManualEvidence":{"doc":{"anchor":"PG-STAT-WAL-VIEW","file":"monitoring-stats.html","lang":"en","sha256":"aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722","slug":"18"}},"MeasuredEvidence":{"measured_attributes":true,"metadata_release":"18.6","runtime_columns":["wal_records","wal_fpi","wal_bytes","wal_buffers_full","stats_reset"],"runtime_verified":false}},"Text":{"Collection":"catalog","Key":"pg_stat_wal","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_stat_wal","Summary":"pg_stat_wal 视图一直有一行，包含关于集簇的WAL活动的数据。","BodyHTML":"\u003cp\u003epg_stat_wal 视图一直有一行，包含关于集簇的WAL活动的数据。\u003c/p\u003e","SourceRevision":"2026-09-27@419045e","ContentHash":"f72856bfc77c7839a1aa3521983ad155dec0785a5584df7cfc0e0500cbe6c80e","Payload":{"columns":[{"description_zh":"生成的WAL记录的总数","name":"wal_records","type":"bigint","zh_from":"doc"},{"description_zh":"生成的WAL整页镜像的总数","name":"wal_fpi","type":"bigint","zh_from":"doc"},{"description_zh":"生成的 WAL 总量，以字节计","name":"wal_bytes","type":"numeric","zh_from":"doc"},{"description_zh":"因为 WAL 缓冲区已满，WAL 数据被写入磁盘的次数","name":"wal_buffers_full","type":"bigint","zh_from":"doc"},{"description_zh":"这些统计信息上次被重置的时间","name":"stats_reset","type":"timestamp with time zone","zh_from":"doc"}],"description_zh":"pg_stat_wal 视图一直有一行，包含关于集簇的WAL活动的数据。","zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["14","15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
