{"kind": "metric", "major": "18", "item": {"slug": "pg_stat_database_conflicts-confl_active_logicalslot", "name": "pg_stat_database_conflicts.confl_active_logicalslot", "name_zh": "", "category": "pg_stat_database_conflicts", "summary": "\u6b64\u6570\u636e\u5e93\u4e2d\u56e0\u65e7\u5feb\u7167\u6216\u4e3b\u5e93\u4e0a\u7684 wal_level \u592a\u4f4e\u800c\u88ab\u53d6\u6d88\u7684\u903b\u8f91\u69fd\u4f7f\u7528\u6b21\u6570", "aliases": ["confl_active_logicalslot", "pg_stat_database_conflicts"], "content_hash": "0eeca1a832d7bbc34d5b4747a1ab16948e3f61a8b7890282f15efca10f5285fe", "versions": {"16": {"view": "pg_stat_database_conflicts", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_database_conflicts"}, {"label": "\u5b57\u6bb5", "value": "confl_active_logicalslot"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "\u672a\u6307\u5b9a"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "confl_active_logicalslot", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_database_conflicts/?v=16", "label": "pg_stat_database_conflicts \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": "https://pg.center/docs/16/monitoring-stats.html#PG-STAT-DATABASE-CONFLICTS-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 16 English manual", "sha256": "a4c274defe8a41ff2895040cd542b5499063b844669ff3336de1a1317c3fe086", "language": "en", "original_url": "/docs/16/monitoring-stats.html#PG-STAT-DATABASE-CONFLICTS-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_database_conflicts \u89c6\u56fe\u4e3a\u6bcf\u4e2a\u6570\u636e\u5e93\u5305\u542b\u4e00\u884c\uff0c\u7528\u6765\u663e\u793a\u6570\u636e\u5e93\u8303\u56f4\u5185\u56e0\u4e0e\u5907\u5e93\u4e0a\u7684\u6062\u590d\u8fc7\u7a0b\u51b2\u7a81\u800c\u88ab\u53d6\u6d88\u7684\u67e5\u8be2\u7edf\u8ba1\u4fe1\u606f\u3002\u8be5\u89c6\u56fe\u53ea\u5305\u542b\u5907\u5e93\u4e0a\u7684\u4fe1\u606f\uff0c\u56e0\u4e3a\u8fd9\u7c7b\u51b2\u7a81\u4e0d\u4f1a\u53d1\u751f\u5728\u4e3b\u5e93\u4e0a\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 confl_active_logicalslot FROM pg_catalog.pg_stat_database_conflicts;", "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", "signature": "SELECT confl_active_logicalslot FROM pg_catalog.pg_stat_database_conflicts;", "documented": true, "description": ["\u6b64\u6570\u636e\u5e93\u4e2d\u56e0\u65e7\u5feb\u7167\u6216\u4e3b\u5e93\u4e0a\u7684 wal_level \u592a\u4f4e\u800c\u88ab\u53d6\u6d88\u7684\u903b\u8f91\u69fd\u4f7f\u7528\u6b21\u6570"], "manual_html": "", "manual_path": "/docs/16/monitoring-stats.html", "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[21]/div[3]/div[1]/table[0]/tbody[2]/tr[7]/td[0]/p[1]", "#MONITORING-STATS/div[21]/p[2]"]}], "language": "zh", "original_text": {"/versions/16/description/0": "Number of uses of logical slots in this database that have been canceled due to old snapshots or too low a wal_level on the primary", "/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/3/value": "Not specified", "/versions/16/facts/4/label": "Reset observation", "/versions/16/facts/4/value": "No stats_reset field is documented for this view", "/versions/16/related/0/label": "pg_stat_database_conflicts 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_database_conflicts view will contain one row per database, showing database-wide statistics about query cancels occurring due to conflicts with recovery on standby servers. This view will only contain information on standby servers, since conflicts do not occur on primary servers.", "/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": "06318e12b50eb50861ef3d93a37624b495712af73e6f62911ee043c0d24be1c1"}, "comparison_data": {"view": "pg_stat_database_conflicts", "field": "confl_active_logicalslot", "sql_type": "bigint", "units_mentioned": []}, "comparison_hash": "04a39e3c902a08a3920e33c44193d02b75dc3f2f3fc51219016cd2bf1cafc015", "units_mentioned": []}, "17": {"view": "pg_stat_database_conflicts", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_database_conflicts"}, {"label": "\u5b57\u6bb5", "value": "confl_active_logicalslot"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "\u672a\u6307\u5b9a"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "confl_active_logicalslot", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_database_conflicts/?v=17", "label": "pg_stat_database_conflicts \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": "https://pg.center/docs/17/monitoring-stats.html#PG-STAT-DATABASE-CONFLICTS-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 17 English manual", "sha256": "007af6e8ab39b925963273ec3ba7f06f8ee6fbfaad821f07a1dc78383dbb9b99", "language": "en", "original_url": "/docs/17/monitoring-stats.html#PG-STAT-DATABASE-CONFLICTS-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_database_conflicts \u89c6\u56fe\u4e3a\u6bcf\u4e2a\u6570\u636e\u5e93\u5305\u542b\u4e00\u884c\uff0c\u7528\u6765\u663e\u793a\u6570\u636e\u5e93\u8303\u56f4\u5185\u56e0\u4e0e\u5907\u5e93\u4e0a\u7684\u6062\u590d\u8fc7\u7a0b\u51b2\u7a81\u800c\u88ab\u53d6\u6d88\u7684\u67e5\u8be2\u7edf\u8ba1\u4fe1\u606f\u3002\u8be5\u89c6\u56fe\u53ea\u5305\u542b\u5907\u5e93\u4e0a\u7684\u4fe1\u606f\uff0c\u56e0\u4e3a\u8fd9\u7c7b\u51b2\u7a81\u4e0d\u4f1a\u53d1\u751f\u5728\u4e3b\u5e93\u4e0a\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 confl_active_logicalslot FROM pg_catalog.pg_stat_database_conflicts;", "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", "signature": "SELECT confl_active_logicalslot FROM pg_catalog.pg_stat_database_conflicts;", "documented": true, "description": ["\u6b64\u6570\u636e\u5e93\u4e2d\u56e0\u65e7\u5feb\u7167\u6216\u4e3b\u5e93\u4e0a\u7684 wal_level \u592a\u4f4e\u800c\u88ab\u53d6\u6d88\u7684\u903b\u8f91\u69fd\u4f7f\u7528\u6b21\u6570"], "manual_html": "", "manual_path": "/docs/17/monitoring-stats.html", "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[22]/div[3]/div[1]/table[0]/tbody[2]/tr[7]/td[0]/p[1]", "#MONITORING-STATS/div[22]/p[2]"]}], "language": "zh", "original_text": {"/versions/17/description/0": "Number of uses of logical slots in this database that have been canceled due to old snapshots or too low a wal_level on the primary", "/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/3/value": "Not specified", "/versions/17/facts/4/label": "Reset observation", "/versions/17/facts/4/value": "No stats_reset field is documented for this view", "/versions/17/related/0/label": "pg_stat_database_conflicts 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_database_conflicts view will contain one row per database, showing database-wide statistics about query cancels occurring due to conflicts with recovery on standby servers. This view will only contain information on standby servers, since conflicts do not occur on primary servers.", "/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": "bddaad2bbe8e4166dfae9e6c4e6ee211c758fe08f5aceaecab960747e63bb44e"}, "comparison_data": {"view": "pg_stat_database_conflicts", "field": "confl_active_logicalslot", "sql_type": "bigint", "units_mentioned": []}, "comparison_hash": "04a39e3c902a08a3920e33c44193d02b75dc3f2f3fc51219016cd2bf1cafc015", "units_mentioned": []}, "18": {"view": "pg_stat_database_conflicts", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_database_conflicts"}, {"label": "\u5b57\u6bb5", "value": "confl_active_logicalslot"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "\u672a\u6307\u5b9a"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "confl_active_logicalslot", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_database_conflicts/?v=18", "label": "pg_stat_database_conflicts \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": "https://pg.center/docs/18/monitoring-stats.html#PG-STAT-DATABASE-CONFLICTS-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 18 English manual", "sha256": "aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722", "language": "en", "original_url": "/docs/18/monitoring-stats.html#PG-STAT-DATABASE-CONFLICTS-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_database_conflicts \u89c6\u56fe\u4e3a\u6bcf\u4e2a\u6570\u636e\u5e93\u5305\u542b\u4e00\u884c\uff0c\u7528\u6765\u663e\u793a\u6570\u636e\u5e93\u8303\u56f4\u5185\u56e0\u4e0e\u5907\u5e93\u4e0a\u7684\u6062\u590d\u8fc7\u7a0b\u51b2\u7a81\u800c\u88ab\u53d6\u6d88\u7684\u67e5\u8be2\u7edf\u8ba1\u4fe1\u606f\u3002\u8be5\u89c6\u56fe\u53ea\u5305\u542b\u5907\u5e93\u4e0a\u7684\u4fe1\u606f\uff0c\u56e0\u4e3a\u8fd9\u7c7b\u51b2\u7a81\u4e0d\u4f1a\u53d1\u751f\u5728\u4e3b\u5e93\u4e0a\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 confl_active_logicalslot FROM pg_catalog.pg_stat_database_conflicts;", "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", "signature": "SELECT confl_active_logicalslot FROM pg_catalog.pg_stat_database_conflicts;", "documented": true, "description": ["\u6b64\u6570\u636e\u5e93\u4e2d\u56e0\u65e7\u5feb\u7167\u6216\u4e3b\u5e93\u4e0a\u7684 wal_level \u592a\u4f4e\u800c\u88ab\u53d6\u6d88\u7684\u903b\u8f91\u69fd\u4f7f\u7528\u6b21\u6570"], "manual_html": "", "manual_path": "/docs/18/monitoring-stats.html", "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[22]/div[3]/div[1]/table[0]/tbody[2]/tr[7]/td[0]/p[1]", "#MONITORING-STATS/div[22]/p[2]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "Number of uses of logical slots in this database that have been canceled due to old snapshots or too low a wal_level on the primary", "/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/3/value": "Not specified", "/versions/18/facts/4/label": "Reset observation", "/versions/18/facts/4/value": "No stats_reset field is documented for this view", "/versions/18/related/0/label": "pg_stat_database_conflicts 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_database_conflicts view will contain one row per database, showing database-wide statistics about query cancels occurring due to conflicts with recovery on standby servers. This view will only contain information on standby servers, since conflicts do not occur on primary servers.", "/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": "562ab6125e8c382a7d80505a73163d6a283ad0253e361c96a97e60fb133de1aa"}, "comparison_data": {"view": "pg_stat_database_conflicts", "field": "confl_active_logicalslot", "sql_type": "bigint", "units_mentioned": []}, "comparison_hash": "04a39e3c902a08a3920e33c44193d02b75dc3f2f3fc51219016cd2bf1cafc015", "units_mentioned": []}, "19": {"view": "pg_stat_database_conflicts", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_database_conflicts"}, {"label": "\u5b57\u6bb5", "value": "confl_active_logicalslot"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "\u672a\u6307\u5b9a"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "field": "confl_active_logicalslot", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_database_conflicts/?v=19", "label": "pg_stat_database_conflicts \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/v19beta4/postgresql-19beta4.tar.bz2", "label": "19beta4", "major": "19", "channel": "preview", "revision": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}, "sources": [{"url": "https://pg.center/docs/19/monitoring-stats.html#PG-STAT-DATABASE-CONFLICTS-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 19 English manual", "sha256": "26e1b6632bdf05ebe081987cb60ab4ded526eec7db73e41316fbd69466c494fe", "language": "en", "original_url": "/docs/19/monitoring-stats.html#PG-STAT-DATABASE-CONFLICTS-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_database_conflicts \u89c6\u56fe\u4e3a\u6bcf\u4e2a\u6570\u636e\u5e93\u5305\u542b\u4e00\u884c\uff0c\u7528\u6765\u663e\u793a\u6570\u636e\u5e93\u8303\u56f4\u5185\u56e0\u4e0e\u5907\u5e93\u4e0a\u7684\u6062\u590d\u8fc7\u7a0b\u51b2\u7a81\u800c\u88ab\u53d6\u6d88\u7684\u67e5\u8be2\u7edf\u8ba1\u4fe1\u606f\u3002\u8be5\u89c6\u56fe\u53ea\u5305\u542b\u5907\u5e93\u4e0a\u7684\u4fe1\u606f\uff0c\u56e0\u4e3a\u8fd9\u7c7b\u51b2\u7a81\u4e0d\u4f1a\u53d1\u751f\u5728\u4e3b\u5e93\u4e0a\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 confl_active_logicalslot FROM pg_catalog.pg_stat_database_conflicts;", "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", "signature": "SELECT confl_active_logicalslot FROM pg_catalog.pg_stat_database_conflicts;", "documented": true, "description": ["\u6b64\u6570\u636e\u5e93\u4e2d\u56e0\u65e7\u5feb\u7167\u6216\u4e3b\u5e93\u4e0a\u7684 wal_level \u592a\u4f4e\u800c\u88ab\u53d6\u6d88\u7684\u903b\u8f91\u69fd\u4f7f\u7528\u6b21\u6570"], "manual_html": "", "manual_path": "/docs/19/monitoring-stats.html", "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[24]/div[3]/div[1]/table[0]/tbody[2]/tr[7]/td[0]/p[1]", "#MONITORING-STATS/div[24]/p[2]"]}], "language": "zh", "original_text": {"/versions/19/description/0": "Number of uses of logical slots in this database that have been canceled due to old snapshots or too low a wal_level on the primary", "/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/3/value": "Not specified", "/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_database_conflicts 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_database_conflicts view will contain one row per database, showing database-wide statistics about query cancels occurring due to conflicts with recovery on standby servers. This view will only contain information on standby servers, since conflicts do not occur on primary servers.", "/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": "02e489fa9e92a431cd54e78bea3f5f69d9d80653ed1c369656a0c1ad179586fd"}, "comparison_data": {"view": "pg_stat_database_conflicts", "field": "confl_active_logicalslot", "sql_type": "bigint", "units_mentioned": []}, "comparison_hash": "04a39e3c902a08a3920e33c44193d02b75dc3f2f3fc51219016cd2bf1cafc015", "units_mentioned": []}, "20": {"view": "pg_stat_database_conflicts", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_database_conflicts"}, {"label": "\u5b57\u6bb5", "value": "confl_active_logicalslot"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "\u672a\u6307\u5b9a"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u8fd9\u4e9b\u7edf\u8ba1\u4e0a\u6b21\u91cd\u7f6e\u7684\u65f6\u95f4"}], "field": "confl_active_logicalslot", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_database_conflicts/?v=20", "label": "pg_stat_database_conflicts \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": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}, "sources": [{"url": "https://pg.center/docs/devel/monitoring-stats.html#PG-STAT-DATABASE-CONFLICTS-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 20 English manual", "sha256": "dfc27a108b70bdf88f310801ae3db011a8f608befd927722e5f3e9bdcc070251", "language": "en", "original_url": "/docs/devel/monitoring-stats.html#PG-STAT-DATABASE-CONFLICTS-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_database_conflicts \u89c6\u56fe\u4e3a\u6bcf\u4e2a\u6570\u636e\u5e93\u5305\u542b\u4e00\u884c\uff0c\u7528\u6765\u663e\u793a\u6570\u636e\u5e93\u8303\u56f4\u5185\u56e0\u4e0e\u5907\u5e93\u4e0a\u7684\u6062\u590d\u8fc7\u7a0b\u51b2\u7a81\u800c\u88ab\u53d6\u6d88\u7684\u67e5\u8be2\u7edf\u8ba1\u4fe1\u606f\u3002\u8be5\u89c6\u56fe\u53ea\u5305\u542b\u5907\u5e93\u4e0a\u7684\u4fe1\u606f\uff0c\u56e0\u4e3a\u8fd9\u7c7b\u51b2\u7a81\u4e0d\u4f1a\u53d1\u751f\u5728\u4e3b\u5e93\u4e0a\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 confl_active_logicalslot FROM pg_catalog.pg_stat_database_conflicts;", "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", "signature": "SELECT confl_active_logicalslot FROM pg_catalog.pg_stat_database_conflicts;", "documented": true, "description": ["\u6b64\u6570\u636e\u5e93\u4e2d\u56e0\u65e7\u5feb\u7167\u6216\u4e3b\u5e93\u4e0a\u7684 wal_level \u592a\u4f4e\u800c\u88ab\u53d6\u6d88\u7684\u903b\u8f91\u69fd\u4f7f\u7528\u6b21\u6570"], "manual_html": "", "manual_path": "/docs/devel/monitoring-stats.html", "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[25]/div[3]/div[1]/table[0]/tbody[2]/tr[7]/td[0]/p[1]", "#MONITORING-STATS/div[25]/p[2]"]}], "language": "zh", "original_text": {"/summary": "Number of uses of logical slots in this database that have been canceled due to old snapshots or too low a wal_level on the primary", "/versions/20/description/0": "Number of uses of logical slots in this database that have been canceled due to old snapshots or too low a wal_level on the primary", "/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/3/value": "Not specified", "/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_database_conflicts 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_database_conflicts view will contain one row per database, showing database-wide statistics about query cancels occurring due to conflicts with recovery on standby servers. This view will only contain information on standby servers, since conflicts do not occur on primary servers.", "/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": "fcfa3fe6d200f032444bde415856887f476ffb612671afccea27ddcc60ce4a47"}, "comparison_data": {"view": "pg_stat_database_conflicts", "field": "confl_active_logicalslot", "sql_type": "bigint", "units_mentioned": []}, "comparison_hash": "04a39e3c902a08a3920e33c44193d02b75dc3f2f3fc51219016cd2bf1cafc015", "units_mentioned": []}}}, "snapshot": {"view": "pg_stat_database_conflicts", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_database_conflicts"}, {"label": "\u5b57\u6bb5", "value": "confl_active_logicalslot"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "\u672a\u6307\u5b9a"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "confl_active_logicalslot", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_database_conflicts/?v=18", "label": "pg_stat_database_conflicts \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": "https://pg.center/docs/18/monitoring-stats.html#PG-STAT-DATABASE-CONFLICTS-VIEW", "path": "monitoring-stats.html", "label": "PostgreSQL 18 English manual", "sha256": "aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722", "language": "en", "original_url": "/docs/18/monitoring-stats.html#PG-STAT-DATABASE-CONFLICTS-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["pg_stat_database_conflicts \u89c6\u56fe\u4e3a\u6bcf\u4e2a\u6570\u636e\u5e93\u5305\u542b\u4e00\u884c\uff0c\u7528\u6765\u663e\u793a\u6570\u636e\u5e93\u8303\u56f4\u5185\u56e0\u4e0e\u5907\u5e93\u4e0a\u7684\u6062\u590d\u8fc7\u7a0b\u51b2\u7a81\u800c\u88ab\u53d6\u6d88\u7684\u67e5\u8be2\u7edf\u8ba1\u4fe1\u606f\u3002\u8be5\u89c6\u56fe\u53ea\u5305\u542b\u5907\u5e93\u4e0a\u7684\u4fe1\u606f\uff0c\u56e0\u4e3a\u8fd9\u7c7b\u51b2\u7a81\u4e0d\u4f1a\u53d1\u751f\u5728\u4e3b\u5e93\u4e0a\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 confl_active_logicalslot FROM pg_catalog.pg_stat_database_conflicts;", "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", "signature": "SELECT confl_active_logicalslot FROM pg_catalog.pg_stat_database_conflicts;", "documented": true, "description": ["\u6b64\u6570\u636e\u5e93\u4e2d\u56e0\u65e7\u5feb\u7167\u6216\u4e3b\u5e93\u4e0a\u7684 wal_level \u592a\u4f4e\u800c\u88ab\u53d6\u6d88\u7684\u903b\u8f91\u69fd\u4f7f\u7528\u6b21\u6570"], "manual_html": "", "manual_path": "/docs/18/monitoring-stats.html", "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[22]/div[3]/div[1]/table[0]/tbody[2]/tr[7]/td[0]/p[1]", "#MONITORING-STATS/div[22]/p[2]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "Number of uses of logical slots in this database that have been canceled due to old snapshots or too low a wal_level on the primary", "/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/3/value": "Not specified", "/versions/18/facts/4/label": "Reset observation", "/versions/18/facts/4/value": "No stats_reset field is documented for this view", "/versions/18/related/0/label": "pg_stat_database_conflicts 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_database_conflicts view will contain one row per database, showing database-wide statistics about query cancels occurring due to conflicts with recovery on standby servers. This view will only contain information on standby servers, since conflicts do not occur on primary servers.", "/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": "562ab6125e8c382a7d80505a73163d6a283ad0253e361c96a97e60fb133de1aa"}, "comparison_data": {"view": "pg_stat_database_conflicts", "field": "confl_active_logicalslot", "sql_type": "bigint", "units_mentioned": []}, "comparison_hash": "04a39e3c902a08a3920e33c44193d02b75dc3f2f3fc51219016cd2bf1cafc015", "units_mentioned": []}, "comparison": {"left": "15", "right": "16", "status": "added", "diff": "--- PostgreSQL 15\n+++ PostgreSQL 16\n@@ -1 +1,6 @@\n-\u8be5\u7248\u672a\u6536\u5f55\n+{\n+  \"field\": \"confl_active_logicalslot\",\n+  \"sql_type\": \"bigint\",\n+  \"units_mentioned\": [],\n+  \"view\": \"pg_stat_database_conflicts\"\n+}"}}