{"kind": "metric", "major": "18", "item": {"slug": "pg_stat_replication_slots-stream_txns", "name": "pg_stat_replication_slots.stream_txns", "name_zh": "", "category": "pg_stat_replication_slots", "summary": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "aliases": ["stream_txns", "pg_stat_replication_slots"], "content_hash": "f16cc9995d6dc830392fe84b2b02f928d30d912720f0feceb2dae6db78e29955", "versions": {"14": {"view": "pg_stat_replication_slots", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "field": "stream_txns", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_replication_slots/?v=14", "label": "pg_stat_replication_slots \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-REPLICATION-SLOTS-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": "stream_txns", "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": "d575d73eedaee13c0b59922bb9924b83bf81ca27fa379853398dae196aa53bd9", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "facts_zh": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "bigint", "center_zh": {"title": "pg_stat_replication_slots.stream_txns", "locale": "zh-Hans", "source": {"key": "pg_stat_replication_slots-stream_txns", "locale": "zh-Hans", "version": "14", "text_hash": "eae0da0b3e2f49e7c9c12c7349336e57eb869479ef9cda4a8f1a916dd6c01abe", "collection": "metric", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "payload": {"facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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": "stream_txns", "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": "d575d73eedaee13c0b59922bb9924b83bf81ca27fa379853398dae196aa53bd9", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\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": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "version": "14", "link_map": {"/zh/docs/14/monitoring-stats.html": "/docs/14/monitoring-stats.html"}, "body_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\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": "67bc37fc62277b5009a604f294cabe085fbb085c5b6b838cc88faaffdd22eb2d", "content_hash": "eae0da0b3e2f49e7c9c12c7349336e57eb869479ef9cda4a8f1a916dd6c01abe", "source_database": "center", "source_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "signature": "SELECT stream_txns FROM pg_catalog.pg_stat_replication_slots;", "tables_zh": [], "documented": true, "description": ["\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002"], "manual_html": "", "manual_path": "/docs/14/monitoring-stats.html", "sections_zh": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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[9]/p[2]"]}], "language": "zh", "original_text": {"/versions/14/description/0": "Number of in-progress transactions streamed to the decoding output plugin after the memory used by logical decoding to decode changes from WAL for this slot has exceeded logical_decoding_work_mem. Streaming only works with top-level transactions (subtransactions can't be streamed independently), so the counter is not incremented for subtransactions.", "/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_replication_slots 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_replication_slots view will contain one row per logical replication slot, showing statistics about its usage.", "/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": "44bfd8b73ccaee9110580ff72a0a33cc7b567dee85ba3fc05f724059e6ce5754", "canonical_center_text_hash": "eae0da0b3e2f49e7c9c12c7349336e57eb869479ef9cda4a8f1a916dd6c01abe"}, "description_zh": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "comparison_data": {"view": "pg_stat_replication_slots", "field": "stream_txns", "sql_type": "bigint", "units_mentioned": ["transactions"]}, "comparison_hash": "058ab6be15f5b15ce40e0a2586d6d135d2667c557d76d0a72ad78e1382334a91", "manual_language": "zh", "units_mentioned": ["transactions"], "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\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_replication_slots", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "field": "stream_txns", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_replication_slots/?v=15", "label": "pg_stat_replication_slots \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-REPLICATION-SLOTS-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": "stream_txns", "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": "597b1442429351d16aa1df5389e0ce438bade3efd882ca851d8b9e95ecd51ff2", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "facts_zh": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "bigint", "center_zh": {"title": "pg_stat_replication_slots.stream_txns", "locale": "zh-Hans", "source": {"key": "pg_stat_replication_slots-stream_txns", "locale": "zh-Hans", "version": "15", "text_hash": "459721442d729a28dca580ed3f3f099200ed36dcdce01ee1a5765e74c9a9e317", "collection": "metric", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "payload": {"facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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": "stream_txns", "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": "597b1442429351d16aa1df5389e0ce438bade3efd882ca851d8b9e95ecd51ff2", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\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": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "version": "15", "link_map": {"/zh/docs/15/monitoring-stats.html": "/docs/15/monitoring-stats.html"}, "body_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\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": "0632b885af70e2135a1d840ba5c8f84a872e0f65b00a86b27f4adb7ba459dd03", "content_hash": "459721442d729a28dca580ed3f3f099200ed36dcdce01ee1a5765e74c9a9e317", "source_database": "center", "source_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "signature": "SELECT stream_txns FROM pg_catalog.pg_stat_replication_slots;", "tables_zh": [], "documented": true, "description": ["\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002"], "manual_html": "", "manual_path": "/docs/15/monitoring-stats.html", "sections_zh": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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[9]/p[2]"]}], "language": "zh", "original_text": {"/versions/15/description/0": "Number of in-progress transactions streamed to the decoding output plugin after the memory used by logical decoding to decode changes from WAL for this slot has exceeded logical_decoding_work_mem. Streaming only works with top-level transactions (subtransactions can't be streamed independently), so the counter is not incremented for subtransactions.", "/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_replication_slots 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_replication_slots view will contain one row per logical replication slot, showing statistics about its usage.", "/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": "8fbec0fd3cd9ee3f0791ac925ba07ab033a8e3fee431895d8ae422cc08b2e140", "canonical_center_text_hash": "459721442d729a28dca580ed3f3f099200ed36dcdce01ee1a5765e74c9a9e317"}, "description_zh": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "comparison_data": {"view": "pg_stat_replication_slots", "field": "stream_txns", "sql_type": "bigint", "units_mentioned": ["transactions"]}, "comparison_hash": "058ab6be15f5b15ce40e0a2586d6d135d2667c557d76d0a72ad78e1382334a91", "manual_language": "zh", "units_mentioned": ["transactions"], "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\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_replication_slots", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "field": "stream_txns", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_replication_slots/?v=16", "label": "pg_stat_replication_slots \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-REPLICATION-SLOTS-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": "stream_txns", "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": "5840d006b32cbfa09a37b7fefbdd7739abf7163ed47e679696aa7cbc6bca264b", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "facts_zh": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "bigint", "center_zh": {"title": "pg_stat_replication_slots.stream_txns", "locale": "zh-Hans", "source": {"key": "pg_stat_replication_slots-stream_txns", "locale": "zh-Hans", "version": "16", "text_hash": "45d6c19896a5a9c966041be6cd67d61ef852b42841f6c8e6586e51c84fcaa295", "collection": "metric", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "payload": {"facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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": "stream_txns", "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": "5840d006b32cbfa09a37b7fefbdd7739abf7163ed47e679696aa7cbc6bca264b", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\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": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "version": "16", "link_map": {"/zh/docs/16/monitoring-stats.html": "/docs/16/monitoring-stats.html"}, "body_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\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": "2903dd7e79c7827f6f3386676add97312919805e3e680b6a9447bc7eb101bede", "content_hash": "45d6c19896a5a9c966041be6cd67d61ef852b42841f6c8e6586e51c84fcaa295", "source_database": "center", "source_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "signature": "SELECT stream_txns FROM pg_catalog.pg_stat_replication_slots;", "tables_zh": [], "documented": true, "description": ["\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002"], "manual_html": "", "manual_path": "/docs/16/monitoring-stats.html", "sections_zh": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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[9]/p[2]"]}], "language": "zh", "original_text": {"/versions/16/description/0": "Number of in-progress transactions streamed to the decoding output plugin after the memory used by logical decoding to decode changes from WAL for this slot has exceeded logical_decoding_work_mem. Streaming only works with top-level transactions (subtransactions can't be streamed independently), so the counter is not incremented for subtransactions.", "/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_replication_slots 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_replication_slots view will contain one row per logical replication slot, showing statistics about its usage.", "/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": "e63666e12735ad47ab853b9fb2349144e809f5ec600ab86d4f27871d41ad4045", "canonical_center_text_hash": "45d6c19896a5a9c966041be6cd67d61ef852b42841f6c8e6586e51c84fcaa295"}, "description_zh": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "comparison_data": {"view": "pg_stat_replication_slots", "field": "stream_txns", "sql_type": "bigint", "units_mentioned": ["transactions"]}, "comparison_hash": "058ab6be15f5b15ce40e0a2586d6d135d2667c557d76d0a72ad78e1382334a91", "manual_language": "zh", "units_mentioned": ["transactions"], "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\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_replication_slots", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "field": "stream_txns", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_replication_slots/?v=17", "label": "pg_stat_replication_slots \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-REPLICATION-SLOTS-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": "stream_txns", "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": "e562b4ade78aa9a654d755b32fe818ab8b5c8cb32aa01164ce624ac164f274db", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "facts_zh": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "bigint", "center_zh": {"title": "pg_stat_replication_slots.stream_txns", "locale": "zh-Hans", "source": {"key": "pg_stat_replication_slots-stream_txns", "locale": "zh-Hans", "version": "17", "text_hash": "a13aa85ac9ab6e5938a9074706b34896225148e64a916eef1f354cfe2d6e0d77", "collection": "metric", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "payload": {"facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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": "stream_txns", "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": "e562b4ade78aa9a654d755b32fe818ab8b5c8cb32aa01164ce624ac164f274db", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\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": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "version": "17", "link_map": {"/zh/docs/17/monitoring-stats.html": "/docs/17/monitoring-stats.html"}, "body_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\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": "6882cab58339a1d88cba9d13f9cae7c9bf1be6060b6ef34190ac8348a14525b6", "content_hash": "a13aa85ac9ab6e5938a9074706b34896225148e64a916eef1f354cfe2d6e0d77", "source_database": "center", "source_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "signature": "SELECT stream_txns FROM pg_catalog.pg_stat_replication_slots;", "tables_zh": [], "documented": true, "description": ["\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002"], "manual_html": "", "manual_path": "/docs/17/monitoring-stats.html", "sections_zh": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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[9]/p[2]"]}], "language": "zh", "original_text": {"/versions/17/description/0": "Number of in-progress transactions streamed to the decoding output plugin after the memory used by logical decoding to decode changes from WAL for this slot has exceeded logical_decoding_work_mem. Streaming only works with top-level transactions (subtransactions can't be streamed independently), so the counter is not incremented for subtransactions.", "/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_replication_slots 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_replication_slots view will contain one row per logical replication slot, showing statistics about its usage.", "/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": "aa3aa1dcaf2305ead386113b6b42ea237785528fb28361937814bf37134fb3f1", "canonical_center_text_hash": "a13aa85ac9ab6e5938a9074706b34896225148e64a916eef1f354cfe2d6e0d77"}, "description_zh": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "comparison_data": {"view": "pg_stat_replication_slots", "field": "stream_txns", "sql_type": "bigint", "units_mentioned": ["transactions"]}, "comparison_hash": "058ab6be15f5b15ce40e0a2586d6d135d2667c557d76d0a72ad78e1382334a91", "manual_language": "zh", "units_mentioned": ["transactions"], "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\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>"}, "18": {"view": "pg_stat_replication_slots", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "field": "stream_txns", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_replication_slots/?v=18", "label": "pg_stat_replication_slots \u5b57\u6bb5"}, {"url": "/docs/18/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sources": [{"url": "/docs/18/monitoring-stats.html#PG-STAT-REPLICATION-SLOTS-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 18 English manual", "sha256": "aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/18/monitoring-stats.html#", "anchor": "", "column": "stream_txns", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "0274aac7991450316bcf7be44635653b6d896fb00e321242c1b6674cb05c2e53", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b"}, "body_sha256": "a54af4486f57ecb806ba53a14799a4c63b8bb3136ed6218a656d110e906a91be", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "facts_zh": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "bigint", "center_zh": {"title": "pg_stat_replication_slots.stream_txns", "locale": "zh-Hans", "source": {"key": "pg_stat_replication_slots-stream_txns", "locale": "zh-Hans", "version": "18", "text_hash": "1268989ffd6ce516798eb2df54ad0783cc1c15020e65f10727115ea3d4caa813", "collection": "metric", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "payload": {"facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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/18/monitoring-stats.html#", "anchor": "", "column": "stream_txns", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "0274aac7991450316bcf7be44635653b6d896fb00e321242c1b6674cb05c2e53", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b"}, "body_sha256": "a54af4486f57ecb806ba53a14799a4c63b8bb3136ed6218a656d110e906a91be", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002</p><p><a href=\"/zh/docs/18/monitoring-stats.html#\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "version": "18", "link_map": {"/zh/docs/18/monitoring-stats.html": "/docs/18/monitoring-stats.html"}, "body_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002</p><p><a href=\"/zh/docs/18/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "7610014e27fd2d3244f6a63314bbc90a6b43ac6582d53f7666d2df5dbe6015dd", "content_hash": "1268989ffd6ce516798eb2df54ad0783cc1c15020e65f10727115ea3d4caa813", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "signature": "SELECT stream_txns FROM pg_catalog.pg_stat_replication_slots;", "tables_zh": [], "documented": true, "description": ["\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002"], "manual_html": "", "manual_path": "/docs/18/monitoring-stats.html", "sections_zh": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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/18/monitoring-stats.html", "method": "same-major semantic node", "sha256": "ff0b10c5fb4b75c247e38b7ad0e8a50fa0b6ebaa25e68c8c67a1ca972bda40b1", "language": "zh", "matched_nodes": ["#MONITORING-STATS/div[9]/p[2]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "Number of in-progress transactions streamed to the decoding output plugin after the memory used by logical decoding to decode changes from WAL for this slot has exceeded logical_decoding_work_mem. Streaming only works with top-level transactions (subtransactions can't be streamed independently), so the counter is not incremented for subtransactions.", "/versions/18/facts/0/label": "View", "/versions/18/facts/1/label": "Field", "/versions/18/facts/2/label": "SQL type", "/versions/18/facts/3/label": "Units named in the field definition", "/versions/18/facts/4/label": "Reset observation", "/versions/18/facts/4/value": "Time at which these statistics were last reset", "/versions/18/related/0/label": "pg_stat_replication_slots columns", "/versions/18/related/1/label": "Statistics collection and reset functions", "/versions/18/sections/0/title": "View semantics", "/versions/18/sections/1/title": "Collection and reset context", "/versions/18/sections/2/title": "Inspect this field", "/versions/18/sections/0/paragraphs/0": "The pg_stat_replication_slots view will contain one row per logical replication slot, showing statistics about its usage.", "/versions/18/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/18/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "759e1eea8cb4b72f295d90f669bafe34686ab1f1ba463044773a66317bfab849", "canonical_center_text_hash": "1268989ffd6ce516798eb2df54ad0783cc1c15020e65f10727115ea3d4caa813"}, "description_zh": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "comparison_data": {"view": "pg_stat_replication_slots", "field": "stream_txns", "sql_type": "bigint", "units_mentioned": ["transactions"]}, "comparison_hash": "058ab6be15f5b15ce40e0a2586d6d135d2667c557d76d0a72ad78e1382334a91", "manual_language": "zh", "units_mentioned": ["transactions"], "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002</p><p><a href=\"/zh/docs/18/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "center_zh_rendered": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002</p><p><a href=\"/docs/18/monitoring-stats.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "19": {"view": "pg_stat_replication_slots", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "field": "stream_txns", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_replication_slots/?v=19", "label": "pg_stat_replication_slots \u5b57\u6bb5"}, {"url": "/docs/19/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19rc1/postgresql-19rc1.tar.bz2", "label": "19rc1", "major": "19", "channel": "preview", "revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "source_sha256": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "manual_fingerprint": "63afc6091780ed5e52920ff9ef5adb6aa7dfcc82f8f413ed36ad46095788488d", "catalog_fingerprint": "da7a8a4e03b72cd120b91ffdff4265e065ccad9eab9964fc3eb1279a58464eb8"}, "sources": [{"url": "/docs/19/monitoring-stats.html#PG-STAT-REPLICATION-SLOTS-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 19 English manual", "sha256": "650f6d5aceb2bb6fe0ed91640c7292c21e805a6d2912eff129665318c942274c"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/19/monitoring-stats.html#", "anchor": "", "column": "stream_txns", "locale": "zh-Hans", "version": "19", "build_id": 109, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "38f7e14f495b50d93ec5fe73e5630957512a3cbd01aa83c8d7dd33abfeedbb62", "source_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:65fda1f1b62a89992b84014c9157e61b67dbe8190e93945826efec668fad038c"}, "body_sha256": "6345af39be3bcb1deae3283b953e495ec894860dd5aed6f2d133ecbad29efae8", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "facts_zh": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "bigint", "center_zh": {"title": "pg_stat_replication_slots.stream_txns", "locale": "zh-Hans", "source": {"key": "pg_stat_replication_slots-stream_txns", "locale": "zh-Hans", "version": "19", "text_hash": "d9ec2475724084e2fde76b17d2f9759a6c007552539015d02071280e362e647d", "collection": "metric", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "payload": {"facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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/19/monitoring-stats.html#", "anchor": "", "column": "stream_txns", "locale": "zh-Hans", "version": "19", "build_id": 109, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "38f7e14f495b50d93ec5fe73e5630957512a3cbd01aa83c8d7dd33abfeedbb62", "source_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:65fda1f1b62a89992b84014c9157e61b67dbe8190e93945826efec668fad038c"}, "body_sha256": "6345af39be3bcb1deae3283b953e495ec894860dd5aed6f2d133ecbad29efae8", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002</p><p><a href=\"/zh/docs/19/monitoring-stats.html#\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "version": "19", "link_map": {"/zh/docs/19/monitoring-stats.html": "/docs/19/monitoring-stats.html"}, "body_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002</p><p><a href=\"/zh/docs/19/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "a0b73e629997f6e2c3d780a04517f54c8132473755081beecd3572a9588fd491", "content_hash": "d9ec2475724084e2fde76b17d2f9759a6c007552539015d02071280e362e647d", "source_database": "center", "source_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "signature": "SELECT stream_txns FROM pg_catalog.pg_stat_replication_slots;", "tables_zh": [], "documented": true, "description": ["\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002"], "manual_html": "", "manual_path": "/docs/19/monitoring-stats.html", "sections_zh": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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/19/monitoring-stats.html", "method": "same-major semantic node", "sha256": "024434288428f15560d48c78af2e836ca669a4217589cfaeb2f16b72123b501a", "language": "zh", "matched_nodes": ["#MONITORING-STATS/div[9]/p[2]"]}], "language": "zh", "original_text": {"/versions/19/description/0": "Number of in-progress transactions streamed to the decoding output plugin after the memory used by logical decoding to decode changes from WAL for this slot has exceeded logical_decoding_work_mem. Streaming only works with top-level transactions (subtransactions can't be streamed independently), so the counter is not incremented for subtransactions.", "/versions/19/facts/0/label": "View", "/versions/19/facts/1/label": "Field", "/versions/19/facts/2/label": "SQL type", "/versions/19/facts/3/label": "Units named in the field definition", "/versions/19/facts/4/label": "Reset observation", "/versions/19/facts/4/value": "Time at which these statistics were last reset", "/versions/19/related/0/label": "pg_stat_replication_slots columns", "/versions/19/related/1/label": "Statistics collection and reset functions", "/versions/19/sections/0/title": "View semantics", "/versions/19/sections/1/title": "Collection and reset context", "/versions/19/sections/2/title": "Inspect this field", "/versions/19/sections/0/paragraphs/0": "The pg_stat_replication_slots view will contain one row per logical replication slot, showing statistics about its usage.", "/versions/19/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/19/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "5011ce553bece56a01c7d662325ed7a89ae37f3fa187163e624f5d2735b69681", "canonical_center_text_hash": "d9ec2475724084e2fde76b17d2f9759a6c007552539015d02071280e362e647d"}, "description_zh": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "comparison_data": {"view": "pg_stat_replication_slots", "field": "stream_txns", "sql_type": "bigint", "units_mentioned": ["transactions"]}, "comparison_hash": "058ab6be15f5b15ce40e0a2586d6d135d2667c557d76d0a72ad78e1382334a91", "manual_language": "zh", "units_mentioned": ["transactions"], "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002</p><p><a href=\"/zh/docs/19/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "source_revalidation": {"kind": "static-same-version-source-and-manual-replay", "audit": "wiki-audit-20261023", "runtime_rerun": false, "compared_fields": "documented field type and description, source-only view expressions", "source_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "previous_source_revision": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}}, "20": {"view": "pg_stat_replication_slots", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "field": "stream_txns", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_replication_slots/?v=20", "label": "pg_stat_replication_slots \u5b57\u6bb5"}, {"url": "/docs/devel/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "source_sha256": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "manual_fingerprint": "4afd3a8e29953000e176877e161458a2febaeaac5a5e16986595d3acc2418c7d", "catalog_fingerprint": "e519e6916a731ce8fb9bca3edb12410227f73e01ccd43fb6f5fb98276f08985f"}, "sources": [{"url": "/docs/devel/monitoring-stats.html#PG-STAT-REPLICATION-SLOTS-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 20 English manual", "sha256": "12af0ae255e3b04952990efae8e4e9d07926556da23734d34f43b9a37126c84f"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/devel/monitoring-stats.html#", "anchor": "", "column": "stream_txns", "locale": "zh-Hans", "version": "20", "build_id": 111, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "2c8d45a2fe11aec2ee727b94ac68e60b7a0523a1aa2d43629f9368d42f544d40", "source_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:98c980963b401d40bd50df72b909e7523e3148b8fdb48edd897de2efb67e5235"}, "body_sha256": "f9a172a62f4fc92932e8659dc5f687dbad92e8471334e23cab7be45249d4ab3f", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "facts_zh": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "bigint", "center_zh": {"title": "pg_stat_replication_slots.stream_txns", "locale": "zh-Hans", "source": {"key": "pg_stat_replication_slots-stream_txns", "locale": "zh-Hans", "version": "20", "text_hash": "4e5425fadaf23d51b1e16c2ab0015e1f0c514250d136d1282e8a07651ef1f634", "collection": "metric", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "payload": {"facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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/devel/monitoring-stats.html#", "anchor": "", "column": "stream_txns", "locale": "zh-Hans", "version": "20", "build_id": 111, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "2c8d45a2fe11aec2ee727b94ac68e60b7a0523a1aa2d43629f9368d42f544d40", "source_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:98c980963b401d40bd50df72b909e7523e3148b8fdb48edd897de2efb67e5235"}, "body_sha256": "f9a172a62f4fc92932e8659dc5f687dbad92e8471334e23cab7be45249d4ab3f", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002</p><p><a href=\"/zh/docs/devel/monitoring-stats.html#\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "version": "20", "link_map": {"/zh/docs/devel/monitoring-stats.html": "/docs/devel/monitoring-stats.html"}, "body_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002</p><p><a href=\"/zh/docs/devel/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "42d533ce19f7b2d209fa25acff564169b3730d4116f91843ea09a1cab9699969", "content_hash": "4e5425fadaf23d51b1e16c2ab0015e1f0c514250d136d1282e8a07651ef1f634", "source_database": "center", "source_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "signature": "SELECT stream_txns FROM pg_catalog.pg_stat_replication_slots;", "tables_zh": [], "documented": true, "description": ["\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002"], "manual_html": "", "manual_path": "/docs/devel/monitoring-stats.html", "sections_zh": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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/devel/monitoring-stats.html", "method": "same-major semantic node", "sha256": "1d9a086fb4c6fdd9a56d3a7a28e8c164354ef0bf50c402f06ebe174538f96a4f", "language": "zh", "matched_nodes": ["#MONITORING-STATS/div[9]/p[2]"]}], "language": "zh", "original_text": {"/summary": "Number of in-progress transactions streamed to the decoding output plugin after the memory used by logical decoding to decode changes from WAL for this slot has exceeded logical_decoding_work_mem. Streaming only works with top-level transactions (subtransactions can't be streamed independently), so the counter is not incremented for subtransactions.", "/versions/20/description/0": "Number of in-progress transactions streamed to the decoding output plugin after the memory used by logical decoding to decode changes from WAL for this slot has exceeded logical_decoding_work_mem. Streaming only works with top-level transactions (subtransactions can't be streamed independently), so the counter is not incremented for subtransactions.", "/versions/20/facts/0/label": "View", "/versions/20/facts/1/label": "Field", "/versions/20/facts/2/label": "SQL type", "/versions/20/facts/3/label": "Units named in the field definition", "/versions/20/facts/4/label": "Reset observation", "/versions/20/facts/4/value": "Time at which these statistics were last reset", "/versions/20/related/0/label": "pg_stat_replication_slots columns", "/versions/20/related/1/label": "Statistics collection and reset functions", "/versions/20/sections/0/title": "View semantics", "/versions/20/sections/1/title": "Collection and reset context", "/versions/20/sections/2/title": "Inspect this field", "/versions/20/sections/0/paragraphs/0": "The pg_stat_replication_slots view will contain one row per logical replication slot, showing statistics about its usage.", "/versions/20/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/20/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "38dcf090fed69e778ac1e8f97d6ce6c6e97d221ad86ffa6c762d1cb3e5947bf1", "canonical_center_text_hash": "4e5425fadaf23d51b1e16c2ab0015e1f0c514250d136d1282e8a07651ef1f634"}, "description_zh": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "comparison_data": {"view": "pg_stat_replication_slots", "field": "stream_txns", "sql_type": "bigint", "units_mentioned": ["transactions"]}, "comparison_hash": "058ab6be15f5b15ce40e0a2586d6d135d2667c557d76d0a72ad78e1382334a91", "manual_language": "zh", "units_mentioned": ["transactions"], "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002</p><p><a href=\"/zh/docs/devel/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "source_revalidation": {"kind": "static-same-version-source-and-manual-replay", "audit": "wiki-audit-20261023", "runtime_rerun": false, "compared_fields": "documented field type and description, source-only view expressions", "source_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "previous_source_revision": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}}}}, "snapshot": {"view": "pg_stat_replication_slots", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "field": "stream_txns", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_replication_slots/?v=18", "label": "pg_stat_replication_slots \u5b57\u6bb5"}, {"url": "/docs/18/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sources": [{"url": "/docs/18/monitoring-stats.html#PG-STAT-REPLICATION-SLOTS-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 18 English manual", "sha256": "aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-structured-summary", "manual": {"url": "/zh/docs/18/monitoring-stats.html#", "anchor": "", "column": "stream_txns", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "0274aac7991450316bcf7be44635653b6d896fb00e321242c1b6674cb05c2e53", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b"}, "body_sha256": "a54af4486f57ecb806ba53a14799a4c63b8bb3136ed6218a656d110e906a91be", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "facts_zh": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "bigint", "center_zh": {"title": "pg_stat_replication_slots.stream_txns", "locale": "zh-Hans", "source": {"key": "pg_stat_replication_slots-stream_txns", "locale": "zh-Hans", "version": "18", "text_hash": "1268989ffd6ce516798eb2df54ad0783cc1c15020e65f10727115ea3d4caa813", "collection": "metric", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "payload": {"facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_replication_slots"}, {"label": "\u5b57\u6bb5", "value": "stream_txns"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "transactions"}, {"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/18/monitoring-stats.html#", "anchor": "", "column": "stream_txns", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "monitoring-stats.html", "extraction": "exact-catalog-field", "source_hash": "0274aac7991450316bcf7be44635653b6d896fb00e321242c1b6674cb05c2e53", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b"}, "body_sha256": "a54af4486f57ecb806ba53a14799a4c63b8bb3136ed6218a656d110e906a91be", "runtime_rerun": false, "authored_translation": "source-derived-structured-summary", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002</p><p><a href=\"/zh/docs/18/monitoring-stats.html#\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "version": "18", "link_map": {"/zh/docs/18/monitoring-stats.html": "/docs/18/monitoring-stats.html"}, "body_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002</p><p><a href=\"/zh/docs/18/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "7610014e27fd2d3244f6a63314bbc90a6b43ac6582d53f7666d2df5dbe6015dd", "content_hash": "1268989ffd6ce516798eb2df54ad0783cc1c15020e65f10727115ea3d4caa813", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "signature": "SELECT stream_txns FROM pg_catalog.pg_stat_replication_slots;", "tables_zh": [], "documented": true, "description": ["\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002"], "manual_html": "", "manual_path": "/docs/18/monitoring-stats.html", "sections_zh": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_replication_slots \u89c6\u56fe\u5c06\u5305\u542b\u6bcf\u4e2a\u903b\u8f91\u590d\u5236\u69fd\u7684\u4e00\u884c\uff0c\u663e\u793a\u5173\u4e8e\u5176\u4f7f\u7528\u60c5\u51b5\u7684\u7edf\u8ba1\u4fe1\u606f\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 stream_txns FROM pg_catalog.pg_stat_replication_slots;", "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/18/monitoring-stats.html", "method": "same-major semantic node", "sha256": "ff0b10c5fb4b75c247e38b7ad0e8a50fa0b6ebaa25e68c8c67a1ca972bda40b1", "language": "zh", "matched_nodes": ["#MONITORING-STATS/div[9]/p[2]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "Number of in-progress transactions streamed to the decoding output plugin after the memory used by logical decoding to decode changes from WAL for this slot has exceeded logical_decoding_work_mem. Streaming only works with top-level transactions (subtransactions can't be streamed independently), so the counter is not incremented for subtransactions.", "/versions/18/facts/0/label": "View", "/versions/18/facts/1/label": "Field", "/versions/18/facts/2/label": "SQL type", "/versions/18/facts/3/label": "Units named in the field definition", "/versions/18/facts/4/label": "Reset observation", "/versions/18/facts/4/value": "Time at which these statistics were last reset", "/versions/18/related/0/label": "pg_stat_replication_slots columns", "/versions/18/related/1/label": "Statistics collection and reset functions", "/versions/18/sections/0/title": "View semantics", "/versions/18/sections/1/title": "Collection and reset context", "/versions/18/sections/2/title": "Inspect this field", "/versions/18/sections/0/paragraphs/0": "The pg_stat_replication_slots view will contain one row per logical replication slot, showing statistics about its usage.", "/versions/18/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/18/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "759e1eea8cb4b72f295d90f669bafe34686ab1f1ba463044773a66317bfab849", "canonical_center_text_hash": "1268989ffd6ce516798eb2df54ad0783cc1c15020e65f10727115ea3d4caa813"}, "description_zh": "\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002", "comparison_data": {"view": "pg_stat_replication_slots", "field": "stream_txns", "sql_type": "bigint", "units_mentioned": ["transactions"]}, "comparison_hash": "058ab6be15f5b15ce40e0a2586d6d135d2667c557d76d0a72ad78e1382334a91", "manual_language": "zh", "units_mentioned": ["transactions"], "description_zh_html": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002</p><p><a href=\"/zh/docs/18/monitoring-stats.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "center_zh_rendered": "<p>pg_stat_replication_slots.stream_txns \u7edf\u8ba1\u5b57\u6bb5\u3002</p><dl><dt>\u89c6\u56fe</dt><dd><code>pg_stat_replication_slots</code></dd><dt>\u5b57\u6bb5</dt><dd><code>stream_txns</code></dd><dt>SQL \u7c7b\u578b</dt><dd><code>bigint</code></dd></dl><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u5b9a\u4e49</h3><p>\u5f53\u903b\u8f91\u89e3\u7801\u4e3a\u6b64\u69fd\u4ece WAL \u89e3\u7801\u66f4\u6539\u65f6\u6240\u4f7f\u7528\u7684\u5185\u5b58\u8d85\u8fc7 logical_decoding_work_mem \u540e\uff0c\u6d41\u5f0f\u4f20\u8f93\u5230\u89e3\u7801\u8f93\u51fa\u63d2\u4ef6\u7684\u8fdb\u884c\u4e2d\u4e8b\u52a1\u6570\u3002\u6d41\u5f0f\u4f20\u8f93\u4ec5\u9002\u7528\u4e8e\u9876\u5c42\u4e8b\u52a1\uff08\u5b50\u4e8b\u52a1\u4e0d\u80fd\u5355\u72ec\u8fdb\u884c\u6d41\u5f0f\u4f20\u8f93\uff09\uff0c\u56e0\u6b64\u5b50\u4e8b\u52a1\u4e0d\u4f1a\u4f7f\u6b64\u8ba1\u6570\u5668\u9012\u589e\u3002</p><p><a href=\"/docs/18/monitoring-stats.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "comparison": {"left": "17", "right": "18", "status": "unchanged", "diff": ""}}