{"kind": "metric", "major": "18", "item": {"slug": "pg_stat_wal-wal_sync_time", "name": "pg_stat_wal.wal_sync_time", "name_zh": "", "category": "pg_stat_wal", "summary": "\u6240\u9009\u7248\u672c\u672a\u6536\u5f55\u6b64\u6761\u76ee\u3002", "aliases": ["wal_sync_time", "pg_stat_wal"], "content_hash": "76225ad726f79e0fa61abb389ffcd64218df4d25ff9bad5d0c73bcaf329913f6", "versions": {"14": {"view": "pg_stat_wal", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_wal"}, {"label": "\u5b57\u6bb5", "value": "wal_sync_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "field": "wal_sync_time", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_wal/?v=14", "label": "pg_stat_wal \u5b57\u6bb5"}, {"url": "/docs/14/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "14.24", "major": "14", "channel": "stable", "revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "sources": [{"url": "/docs/14/monitoring-stats.html#PG-STAT-WAL-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 14 English manual", "sha256": "1852c6205d68e465d08dd8f75e3b6bfdd4a475ee8d79886e2dcff6bff8e2d243"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/14/monitoring-stats.html#", "anchor": "", "column": "wal_sync_time", "locale": "zh-Hans", "version": "14", "build_id": 99, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "5d0b3feda6ee0197d76fdc68b8b0b9837def8844a3463bc79c380c92ca629dbb", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:87e6aa4fd6e1ec85c5f4a6de4f5647cfd9e5de734ca2c266d32b6d6192c662ef"}, "body_sha256": "0fd5a2e5db6f8995bb83174506d8ae7d1abc1d9d238da5b755b8dcbedf096abb", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "facts_zh": [{"label": "\u89c6\u56fe", "value": "pg_stat_wal"}, {"label": "\u5b57\u6bb5", "value": "wal_sync_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_wal \u89c6\u56fe\u4e00\u76f4\u6709\u4e00\u884c\uff0c\u5305\u542b\u5173\u4e8e\u96c6\u7c07\u7684WAL\u6d3b\u52a8\u7684\u6570\u636e\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "double precision", "center_zh": {"title": "pg_stat_wal.wal_sync_time", "locale": "zh-Hans", "source": {"key": "pg_stat_wal-wal_sync_time", "locale": "zh-Hans", "version": "14", "text_hash": "7895a62af1583dcdbfd4f2b01f3fe6cdf28e83b2c1d79057c505e24c074974c1", "collection": "metric", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "payload": {"facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_wal"}, {"label": "\u5b57\u6bb5", "value": "wal_sync_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "tables": [], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/14/monitoring-stats.html#", "anchor": "", "column": "wal_sync_time", "locale": "zh-Hans", "version": "14", "build_id": 99, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "5d0b3feda6ee0197d76fdc68b8b0b9837def8844a3463bc79c380c92ca629dbb", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:87e6aa4fd6e1ec85c5f4a6de4f5647cfd9e5de734ca2c266d32b6d6192c662ef"}, "body_sha256": "0fd5a2e5db6f8995bb83174506d8ae7d1abc1d9d238da5b755b8dcbedf096abb", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_wal \u89c6\u56fe\u4e00\u76f4\u6709\u4e00\u884c\uff0c\u5305\u542b\u5173\u4e8e\u96c6\u7c07\u7684WAL\u6d3b\u52a8\u7684\u6570\u636e\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "description_zh": "\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002", "description_zh_html": "<p>pg_stat_wal.wal_sync_time \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_wal</code></dd><dt>\u5b57\u6bb5</dt><dd><code>wal_sync_time</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>double precision</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002</p><p><a href=\"/zh/docs/14/monitoring-stats.html#\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002", "version": "14", "link_map": {"/zh/docs/14/monitoring-stats.html": "/docs/14/monitoring-stats.html"}, "body_html": "<p>pg_stat_wal.wal_sync_time \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_wal</code></dd><dt>\u5b57\u6bb5</dt><dd><code>wal_sync_time</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>double precision</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002</p><p><a href=\"/zh/docs/14/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "b57ea3772aa31c260ef0c25111927dada28454df49e4b2408d033f7f87fd0af9", "content_hash": "7895a62af1583dcdbfd4f2b01f3fe6cdf28e83b2c1d79057c505e24c074974c1", "source_database": "center", "source_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "signature": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "tables_zh": [], "documented": true, "description": ["\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002"], "manual_html": "", "manual_path": "/docs/14/monitoring-stats.html", "sections_zh": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_wal \u89c6\u56fe\u4e00\u76f4\u6709\u4e00\u884c\uff0c\u5305\u542b\u5173\u4e8e\u96c6\u7c07\u7684WAL\u6d3b\u52a8\u7684\u6570\u636e\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "source_only": false, "localization": {"status": "complete", "sources": [{"url": "/docs/14/monitoring-stats.html", "method": "same-major semantic node", "sha256": "a622383556aa74bc5f0e402d9cb6c1e6ce1d111286c0f4e45f55b81e34d57922", "language": "zh", "matched_nodes": ["#MONITORING-STATS/div[16]/p[2]"]}], "language": "zh", "original_text": {"/versions/14/description/0": "Total amount of time spent syncing WAL files to disk via issue_xlog_fsync request, in milliseconds (if track_wal_io_timing is enabled, fsync is on, and wal_sync_method is either fdatasync, fsync or fsync_writethrough, otherwise zero).", "/versions/14/facts/0/label": "View", "/versions/14/facts/1/label": "Field", "/versions/14/facts/2/label": "SQL type", "/versions/14/facts/3/label": "Units named in the field definition", "/versions/14/facts/4/label": "Reset observation", "/versions/14/facts/4/value": "Time at which these statistics were last reset", "/versions/14/related/0/label": "pg_stat_wal columns", "/versions/14/related/1/label": "Statistics collection and reset functions", "/versions/14/sections/0/title": "View semantics", "/versions/14/sections/1/title": "Collection and reset context", "/versions/14/sections/2/title": "Inspect this field", "/versions/14/sections/0/paragraphs/0": "The pg_stat_wal view will always have a single row, containing data about WAL activity of the cluster.", "/versions/14/sections/1/paragraphs/0": "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.", "/versions/14/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "7bbb0ba7bafdb18cff7f5d58d4b8baec593f91887f48b70623d67264e81078c8", "canonical_center_text_hash": "7895a62af1583dcdbfd4f2b01f3fe6cdf28e83b2c1d79057c505e24c074974c1"}, "description_zh": "\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002", "comparison_data": {"view": "pg_stat_wal", "field": "wal_sync_time", "sql_type": "double precision", "units_mentioned": ["milliseconds"]}, "comparison_hash": "d7b7f45d9ce13a64d7e0bd112f00c72932dd1e87d7dd6e875ee9b283cbc4d0f3", "manual_language": "zh", "units_mentioned": ["milliseconds"], "description_zh_html": "<p>pg_stat_wal.wal_sync_time \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_wal</code></dd><dt>\u5b57\u6bb5</dt><dd><code>wal_sync_time</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>double precision</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002</p><p><a href=\"/zh/docs/14/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "15": {"view": "pg_stat_wal", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_wal"}, {"label": "\u5b57\u6bb5", "value": "wal_sync_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "field": "wal_sync_time", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_wal/?v=15", "label": "pg_stat_wal \u5b57\u6bb5"}, {"url": "/docs/15/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "15.19", "major": "15", "channel": "stable", "revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "sources": [{"url": "/docs/15/monitoring-stats.html#PG-STAT-WAL-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 15 English manual", "sha256": "034c0a2e99e6707e637bf4d6cfd819d39eddc1b4b7c1ec2a00f0b4f0fdb0a078"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/15/monitoring-stats.html#", "anchor": "", "column": "wal_sync_time", "locale": "zh-Hans", "version": "15", "build_id": 101, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "a1f491ce4744d3b72b0eced7fad7c91762a4a8ba5ce0d61094b0616668450592", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:6bce1a2df9170cb1146a1411c5547190856638221a6539e618ee1016c9f493ad"}, "body_sha256": "6aa7038f2ef26c987df3e5781d5c1aff6f6501efd303f985e381182f56a44262", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "facts_zh": [{"label": "\u89c6\u56fe", "value": "pg_stat_wal"}, {"label": "\u5b57\u6bb5", "value": "wal_sync_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_wal \u89c6\u56fe\u4e00\u76f4\u6709\u4e00\u884c\uff0c\u5305\u542b\u5173\u4e8e\u96c6\u7c07\u7684WAL\u6d3b\u52a8\u7684\u6570\u636e\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "double precision", "center_zh": {"title": "pg_stat_wal.wal_sync_time", "locale": "zh-Hans", "source": {"key": "pg_stat_wal-wal_sync_time", "locale": "zh-Hans", "version": "15", "text_hash": "cb2042696903825fa045e491f0c95089aa218a62a4c4f1dc46f560ea8c3f646a", "collection": "metric", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "payload": {"facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_wal"}, {"label": "\u5b57\u6bb5", "value": "wal_sync_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "tables": [], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/15/monitoring-stats.html#", "anchor": "", "column": "wal_sync_time", "locale": "zh-Hans", "version": "15", "build_id": 101, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "a1f491ce4744d3b72b0eced7fad7c91762a4a8ba5ce0d61094b0616668450592", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:6bce1a2df9170cb1146a1411c5547190856638221a6539e618ee1016c9f493ad"}, "body_sha256": "6aa7038f2ef26c987df3e5781d5c1aff6f6501efd303f985e381182f56a44262", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_wal \u89c6\u56fe\u4e00\u76f4\u6709\u4e00\u884c\uff0c\u5305\u542b\u5173\u4e8e\u96c6\u7c07\u7684WAL\u6d3b\u52a8\u7684\u6570\u636e\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "description_zh": "\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002", "description_zh_html": "<p>pg_stat_wal.wal_sync_time \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_wal</code></dd><dt>\u5b57\u6bb5</dt><dd><code>wal_sync_time</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>double precision</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002</p><p><a href=\"/zh/docs/15/monitoring-stats.html#\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002", "version": "15", "link_map": {"/zh/docs/15/monitoring-stats.html": "/docs/15/monitoring-stats.html"}, "body_html": "<p>pg_stat_wal.wal_sync_time \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_wal</code></dd><dt>\u5b57\u6bb5</dt><dd><code>wal_sync_time</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>double precision</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002</p><p><a href=\"/zh/docs/15/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "02237a4bac13446e66814acdc068ad08642c4de54204fef7ee23eecc1c9400cd", "content_hash": "cb2042696903825fa045e491f0c95089aa218a62a4c4f1dc46f560ea8c3f646a", "source_database": "center", "source_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "signature": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "tables_zh": [], "documented": true, "description": ["\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002"], "manual_html": "", "manual_path": "/docs/15/monitoring-stats.html", "sections_zh": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_wal \u89c6\u56fe\u4e00\u76f4\u6709\u4e00\u884c\uff0c\u5305\u542b\u5173\u4e8e\u96c6\u7c07\u7684WAL\u6d3b\u52a8\u7684\u6570\u636e\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "source_only": false, "localization": {"status": "complete", "sources": [{"url": "/docs/15/monitoring-stats.html", "method": "same-major semantic node", "sha256": "373028581d43d13a3f098f997d5912fca6c8c1bf42a129d9336834c119bcaf6b", "language": "zh", "matched_nodes": ["#MONITORING-STATS/div[18]/p[2]"]}], "language": "zh", "original_text": {"/versions/15/description/0": "Total amount of time spent syncing WAL files to disk via issue_xlog_fsync request, in milliseconds (if track_wal_io_timing is enabled, fsync is on, and wal_sync_method is either fdatasync, fsync or fsync_writethrough, otherwise zero).", "/versions/15/facts/0/label": "View", "/versions/15/facts/1/label": "Field", "/versions/15/facts/2/label": "SQL type", "/versions/15/facts/3/label": "Units named in the field definition", "/versions/15/facts/4/label": "Reset observation", "/versions/15/facts/4/value": "Time at which these statistics were last reset", "/versions/15/related/0/label": "pg_stat_wal columns", "/versions/15/related/1/label": "Statistics collection and reset functions", "/versions/15/sections/0/title": "View semantics", "/versions/15/sections/1/title": "Collection and reset context", "/versions/15/sections/2/title": "Inspect this field", "/versions/15/sections/0/paragraphs/0": "The pg_stat_wal view will always have a single row, containing data about WAL activity of the cluster.", "/versions/15/sections/1/paragraphs/0": "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.", "/versions/15/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "a8650d240eec935faa1d5cff0439ddd676cb65e7f039960ec79d435d3200d905", "canonical_center_text_hash": "cb2042696903825fa045e491f0c95089aa218a62a4c4f1dc46f560ea8c3f646a"}, "description_zh": "\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002", "comparison_data": {"view": "pg_stat_wal", "field": "wal_sync_time", "sql_type": "double precision", "units_mentioned": ["milliseconds"]}, "comparison_hash": "d7b7f45d9ce13a64d7e0bd112f00c72932dd1e87d7dd6e875ee9b283cbc4d0f3", "manual_language": "zh", "units_mentioned": ["milliseconds"], "description_zh_html": "<p>pg_stat_wal.wal_sync_time \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_wal</code></dd><dt>\u5b57\u6bb5</dt><dd><code>wal_sync_time</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>double precision</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002</p><p><a href=\"/zh/docs/15/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "16": {"view": "pg_stat_wal", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_wal"}, {"label": "\u5b57\u6bb5", "value": "wal_sync_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "field": "wal_sync_time", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_wal/?v=16", "label": "pg_stat_wal \u5b57\u6bb5"}, {"url": "/docs/16/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "16.15", "major": "16", "channel": "stable", "revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "sources": [{"url": "/docs/16/monitoring-stats.html#PG-STAT-WAL-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 16 English manual", "sha256": "a4c274defe8a41ff2895040cd542b5499063b844669ff3336de1a1317c3fe086"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/16/monitoring-stats.html#", "anchor": "", "column": "wal_sync_time", "locale": "zh-Hans", "version": "16", "build_id": 103, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "bc7073c776c27e13a8c84203c68f4913e8ee7601c38364f2b4e397c4851c8e08", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:80579a071736780f9c4022bb5148e1fb1256f1a33591306af67816e9e9bf3a9b"}, "body_sha256": "8fd185a3d21f971f28ffc95b77f286ed1c7ac817dc412edb748f38b71109c07e", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "facts_zh": [{"label": "\u89c6\u56fe", "value": "pg_stat_wal"}, {"label": "\u5b57\u6bb5", "value": "wal_sync_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_wal \u89c6\u56fe\u4e00\u76f4\u6709\u4e00\u884c\uff0c\u5305\u542b\u5173\u4e8e\u96c6\u7c07\u7684WAL\u6d3b\u52a8\u7684\u6570\u636e\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "double precision", "center_zh": {"title": "pg_stat_wal.wal_sync_time", "locale": "zh-Hans", "source": {"key": "pg_stat_wal-wal_sync_time", "locale": "zh-Hans", "version": "16", "text_hash": "35b3449d1281806be99fefe7e03dd43d00ff920590ab03c7cc4a75409f107cd3", "collection": "metric", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "payload": {"facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_wal"}, {"label": "\u5b57\u6bb5", "value": "wal_sync_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "tables": [], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/16/monitoring-stats.html#", "anchor": "", "column": "wal_sync_time", "locale": "zh-Hans", "version": "16", "build_id": 103, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "bc7073c776c27e13a8c84203c68f4913e8ee7601c38364f2b4e397c4851c8e08", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:80579a071736780f9c4022bb5148e1fb1256f1a33591306af67816e9e9bf3a9b"}, "body_sha256": "8fd185a3d21f971f28ffc95b77f286ed1c7ac817dc412edb748f38b71109c07e", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_wal \u89c6\u56fe\u4e00\u76f4\u6709\u4e00\u884c\uff0c\u5305\u542b\u5173\u4e8e\u96c6\u7c07\u7684WAL\u6d3b\u52a8\u7684\u6570\u636e\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "description_zh": "\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002", "description_zh_html": "<p>pg_stat_wal.wal_sync_time \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_wal</code></dd><dt>\u5b57\u6bb5</dt><dd><code>wal_sync_time</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>double precision</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002</p><p><a href=\"/zh/docs/16/monitoring-stats.html#\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002", "version": "16", "link_map": {"/zh/docs/16/monitoring-stats.html": "/docs/16/monitoring-stats.html"}, "body_html": "<p>pg_stat_wal.wal_sync_time \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_wal</code></dd><dt>\u5b57\u6bb5</dt><dd><code>wal_sync_time</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>double precision</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002</p><p><a href=\"/zh/docs/16/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "fa710f9685698e3f016a07abfc41b94cab0d1aaa51f32453f97b962ef99738f3", "content_hash": "35b3449d1281806be99fefe7e03dd43d00ff920590ab03c7cc4a75409f107cd3", "source_database": "center", "source_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "signature": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "tables_zh": [], "documented": true, "description": ["\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002"], "manual_html": "", "manual_path": "/docs/16/monitoring-stats.html", "sections_zh": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_wal \u89c6\u56fe\u4e00\u76f4\u6709\u4e00\u884c\uff0c\u5305\u542b\u5173\u4e8e\u96c6\u7c07\u7684WAL\u6d3b\u52a8\u7684\u6570\u636e\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "source_only": false, "localization": {"status": "complete", "sources": [{"url": "/docs/16/monitoring-stats.html", "method": "same-major semantic node", "sha256": "602e708943074767e7aad252e93938422e388dae22bd99fc583e93f7689395ba", "language": "zh", "matched_nodes": ["#MONITORING-STATS/div[19]/p[2]"]}], "language": "zh", "original_text": {"/versions/16/description/0": "Total amount of time spent syncing WAL files to disk via issue_xlog_fsync request, in milliseconds (if track_wal_io_timing is enabled, fsync is on, and wal_sync_method is either fdatasync, fsync or fsync_writethrough, otherwise zero).", "/versions/16/facts/0/label": "View", "/versions/16/facts/1/label": "Field", "/versions/16/facts/2/label": "SQL type", "/versions/16/facts/3/label": "Units named in the field definition", "/versions/16/facts/4/label": "Reset observation", "/versions/16/facts/4/value": "Time at which these statistics were last reset", "/versions/16/related/0/label": "pg_stat_wal columns", "/versions/16/related/1/label": "Statistics collection and reset functions", "/versions/16/sections/0/title": "View semantics", "/versions/16/sections/1/title": "Collection and reset context", "/versions/16/sections/2/title": "Inspect this field", "/versions/16/sections/0/paragraphs/0": "The pg_stat_wal view will always have a single row, containing data about WAL activity of the cluster.", "/versions/16/sections/1/paragraphs/0": "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.", "/versions/16/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "6cd7a9a60e31c6504c5b03893d598627f81920b7f06dfc0ea2b6db8e2209bab8", "canonical_center_text_hash": "35b3449d1281806be99fefe7e03dd43d00ff920590ab03c7cc4a75409f107cd3"}, "description_zh": "\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002", "comparison_data": {"view": "pg_stat_wal", "field": "wal_sync_time", "sql_type": "double precision", "units_mentioned": ["milliseconds"]}, "comparison_hash": "d7b7f45d9ce13a64d7e0bd112f00c72932dd1e87d7dd6e875ee9b283cbc4d0f3", "manual_language": "zh", "units_mentioned": ["milliseconds"], "description_zh_html": "<p>pg_stat_wal.wal_sync_time \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_wal</code></dd><dt>\u5b57\u6bb5</dt><dd><code>wal_sync_time</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>double precision</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002</p><p><a href=\"/zh/docs/16/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "17": {"view": "pg_stat_wal", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_wal"}, {"label": "\u5b57\u6bb5", "value": "wal_sync_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "field": "wal_sync_time", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_wal/?v=17", "label": "pg_stat_wal \u5b57\u6bb5"}, {"url": "/docs/17/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "17.11", "major": "17", "channel": "stable", "revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "sources": [{"url": "/docs/17/monitoring-stats.html#PG-STAT-WAL-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 17 English manual", "sha256": "007af6e8ab39b925963273ec3ba7f06f8ee6fbfaad821f07a1dc78383dbb9b99"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/17/monitoring-stats.html#", "anchor": "", "column": "wal_sync_time", "locale": "zh-Hans", "version": "17", "build_id": 105, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "ad63a74417862b28cba663bd779186633505e5da37845bce5f2e4bf62ee55c2b", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:7340767258d21c21b36f373f1fff6bab2be18e0daca13a865129db6105c09efd"}, "body_sha256": "3d34130586ae78d6fd34d2ad0a72e4bfbde88e67f08c77b9f726a9cedcb01f89", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "facts_zh": [{"label": "\u89c6\u56fe", "value": "pg_stat_wal"}, {"label": "\u5b57\u6bb5", "value": "wal_sync_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_wal \u89c6\u56fe\u4e00\u76f4\u6709\u4e00\u884c\uff0c\u5305\u542b\u5173\u4e8e\u96c6\u7c07\u7684WAL\u6d3b\u52a8\u7684\u6570\u636e\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "double precision", "center_zh": {"title": "pg_stat_wal.wal_sync_time", "locale": "zh-Hans", "source": {"key": "pg_stat_wal-wal_sync_time", "locale": "zh-Hans", "version": "17", "text_hash": "75040a3dc8d0a15d2aaf19e3a38f569f6974631c74b723ad80413c36b5d1cf3a", "collection": "metric", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "payload": {"facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_wal"}, {"label": "\u5b57\u6bb5", "value": "wal_sync_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "tables": [], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/17/monitoring-stats.html#", "anchor": "", "column": "wal_sync_time", "locale": "zh-Hans", "version": "17", "build_id": 105, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "ad63a74417862b28cba663bd779186633505e5da37845bce5f2e4bf62ee55c2b", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:7340767258d21c21b36f373f1fff6bab2be18e0daca13a865129db6105c09efd"}, "body_sha256": "3d34130586ae78d6fd34d2ad0a72e4bfbde88e67f08c77b9f726a9cedcb01f89", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_wal \u89c6\u56fe\u4e00\u76f4\u6709\u4e00\u884c\uff0c\u5305\u542b\u5173\u4e8e\u96c6\u7c07\u7684WAL\u6d3b\u52a8\u7684\u6570\u636e\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "description_zh": "\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002", "description_zh_html": "<p>pg_stat_wal.wal_sync_time \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_wal</code></dd><dt>\u5b57\u6bb5</dt><dd><code>wal_sync_time</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>double precision</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002</p><p><a href=\"/zh/docs/17/monitoring-stats.html#\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002", "version": "17", "link_map": {"/zh/docs/17/monitoring-stats.html": "/docs/17/monitoring-stats.html"}, "body_html": "<p>pg_stat_wal.wal_sync_time \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_wal</code></dd><dt>\u5b57\u6bb5</dt><dd><code>wal_sync_time</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>double precision</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002</p><p><a href=\"/zh/docs/17/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "3e20e908434f1f567065bdf7553576e83dc37be7898fea1714ded1d51642a750", "content_hash": "75040a3dc8d0a15d2aaf19e3a38f569f6974631c74b723ad80413c36b5d1cf3a", "source_database": "center", "source_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "signature": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "tables_zh": [], "documented": true, "description": ["\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002"], "manual_html": "", "manual_path": "/docs/17/monitoring-stats.html", "sections_zh": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_wal \u89c6\u56fe\u4e00\u76f4\u6709\u4e00\u884c\uff0c\u5305\u542b\u5173\u4e8e\u96c6\u7c07\u7684WAL\u6d3b\u52a8\u7684\u6570\u636e\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT wal_sync_time FROM pg_catalog.pg_stat_wal;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "source_only": false, "localization": {"status": "complete", "sources": [{"url": "/docs/17/monitoring-stats.html", "method": "same-major semantic node", "sha256": "5cd346cc373a5a006b07664d9969d4c630c8ea55dea33b8f3211f061ce43e54f", "language": "zh", "matched_nodes": ["#MONITORING-STATS/div[20]/p[2]"]}], "language": "zh", "original_text": {"/summary": "Total amount of time spent syncing WAL files to disk via issue_xlog_fsync request, in milliseconds (if track_wal_io_timing is enabled, fsync is on, and wal_sync_method is either fdatasync, fsync or fsync_writethrough, otherwise zero).", "/versions/17/description/0": "Total amount of time spent syncing WAL files to disk via issue_xlog_fsync request, in milliseconds (if track_wal_io_timing is enabled, fsync is on, and wal_sync_method is either fdatasync, fsync or fsync_writethrough, otherwise zero).", "/versions/17/facts/0/label": "View", "/versions/17/facts/1/label": "Field", "/versions/17/facts/2/label": "SQL type", "/versions/17/facts/3/label": "Units named in the field definition", "/versions/17/facts/4/label": "Reset observation", "/versions/17/facts/4/value": "Time at which these statistics were last reset", "/versions/17/related/0/label": "pg_stat_wal columns", "/versions/17/related/1/label": "Statistics collection and reset functions", "/versions/17/sections/0/title": "View semantics", "/versions/17/sections/1/title": "Collection and reset context", "/versions/17/sections/2/title": "Inspect this field", "/versions/17/sections/0/paragraphs/0": "The pg_stat_wal view will always have a single row, containing data about WAL activity of the cluster.", "/versions/17/sections/1/paragraphs/0": "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.", "/versions/17/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "a602071dd5a0f34d82c1b69b6ac8602c34f6019a19d90b25cf46fbe809871a6f", "canonical_center_text_hash": "75040a3dc8d0a15d2aaf19e3a38f569f6974631c74b723ad80413c36b5d1cf3a"}, "description_zh": "\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002", "comparison_data": {"view": "pg_stat_wal", "field": "wal_sync_time", "sql_type": "double precision", "units_mentioned": ["milliseconds"]}, "comparison_hash": "d7b7f45d9ce13a64d7e0bd112f00c72932dd1e87d7dd6e875ee9b283cbc4d0f3", "manual_language": "zh", "units_mentioned": ["milliseconds"], "description_zh_html": "<p>pg_stat_wal.wal_sync_time \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_wal</code></dd><dt>\u5b57\u6bb5</dt><dd><code>wal_sync_time</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>double precision</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u901a\u8fc7 issue_xlog_fsync \u8bf7\u6c42\u5c06 WAL \u6587\u4ef6\u540c\u6b65\u5230\u78c1\u76d8\u6240\u82b1\u8d39\u7684\u603b\u65f6\u95f4\uff0c\u4ee5\u6beb\u79d2\u8ba1\uff08\u5982\u679c\u542f\u7528\u4e86 track_wal_io_timing\u3001fsync \u4e3a on\uff0c\u4e14 wal_sync_method \u4e3a fdatasync\u3001fsync \u6216 fsync_writethrough\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002</p><p><a href=\"/zh/docs/17/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}}}, "snapshot": null, "comparison": {"left": "17", "right": "18", "status": "removed", "diff": "--- PostgreSQL 17\n+++ PostgreSQL 18\n@@ -1,8 +1 @@\n-{\n-  \"field\": \"wal_sync_time\",\n-  \"sql_type\": \"double precision\",\n-  \"units_mentioned\": [\n-    \"milliseconds\"\n-  ],\n-  \"view\": \"pg_stat_wal\"\n-}\n+\u8be5\u7248\u672a\u6536\u5f55"}}