{"kind": "storage", "major": "18", "item": {"slug": "storage-hot", "name": "Heap-Only Tuples ( HOT )", "name_zh": "", "category": "\u7269\u7406\u7ed3\u6784", "summary": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "aliases": [], "content_hash": "0b1b56e532b27fd0691c27b72383095f4f57b0213d44164c527982c34add4605", "versions": {"11": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "related": [{"url": "/wiki/relopts/?v=11", "label": "\u5b58\u50a8\u53c2\u6570"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "11.22", "major": "11", "channel": "stable", "revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "sources": [{"url": "/docs/11/storage-hot.html", "path": "storage-hot.html", "label": "PostgreSQL 11 English manual", "sha256": "b8059d9d68ff54c7025b275af572c8bcbd187101417c6a594441f29cae47e037"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/11/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "11", "build_id": 64, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "b619ab9583fb587fb05ee2782c4306e9f37ecebffb462f4975b6efeb5eada8b3", "fragment_sha256": "62960de36ccedd91fb47dd580c240e24d3ea77063b5a857374d19695fcf9b332", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:ef5c7bc074acae9795db16e6b7482aea3b222bd4bcce0f76831332b97a21e8a1", "translated_from_revision": null}, "body_sha256": "97648d8468a574c0a2f26fd9e4020413e3634403bc7f30da9c898b268000326c", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "facts_zh": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "sections": [], "center_zh": {"title": "Heap-Only Tuples ( HOT )", "locale": "zh-Hans", "source": {"key": "storage-hot", "locale": "zh-Hans", "version": "11", "text_hash": "3c65dd1d7757417f22a9d5de228b589f872da0420577c6ad7cce973b5b74c50c", "collection": "storage", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "payload": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/11/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "11", "build_id": 64, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "b619ab9583fb587fb05ee2782c4306e9f37ecebffb462f4975b6efeb5eada8b3", "fragment_sha256": "62960de36ccedd91fb47dd580c240e24d3ea77063b5a857374d19695fcf9b332", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:ef5c7bc074acae9795db16e6b7482aea3b222bd4bcce0f76831332b97a21e8a1", "translated_from_revision": null}, "body_sha256": "97648d8468a574c0a2f26fd9e4020413e3634403bc7f30da9c898b268000326c", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "sections": [], "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span class=\"productname\">PostgreSQL</span> \u4f7f\u7528<a class=\"link\" href=\"/zh/docs/11/mvcc.html#MVCC-INTRO\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym class=\"acronym\">MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym class=\"acronym\">MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span class=\"productname\">PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym class=\"acronym\">HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a class=\"link\" href=\"/zh/docs/11/sql-createtable.html\"><code class=\"literal\">fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a class=\"link\" href=\"/zh/docs/11/monitoring-stats.html#PG-STAT-ALL-TABLES-VIEW\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/11/storage-hot.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "version": "11", "link_map": {"/zh/docs/11/storage-hot.html": "/docs/11/storage-hot.html", "/zh/docs/11/mvcc.html#MVCC-INTRO": "/docs/11/mvcc.html#MVCC-INTRO", "/zh/docs/11/sql-createtable.html": "/docs/11/sql-createtable.html", "/zh/docs/11/monitoring-stats.html#PG-STAT-ALL-TABLES-VIEW": "/docs/11/monitoring-stats.html#PG-STAT-ALL-TABLES-VIEW"}, "body_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/11/mvcc.html#MVCC-INTRO\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/11/sql-createtable.html\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/11/monitoring-stats.html#PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/11/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "fe89933a3346b19c06340adbeb41fcd667f232a275402f2629dff7d31122c568", "content_hash": "3c65dd1d7757417f22a9d5de228b589f872da0420577c6ad7cce973b5b74c50c", "source_database": "center", "source_revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "signature": "", "tables_zh": [], "description": ["\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002"], "manual_html": "", "manual_path": "/docs/11/storage-hot.html", "sections_zh": [], "localization": {"status": "complete", "sources": [{"url": "/docs/11/storage-hot.html", "method": "same-major semantic node", "sha256": "082e1b4fcf83599df766d9d6e3a6ca7088c53bf4eb3645639928f714db78db9f", "language": "zh", "matched_nodes": ["#STORAGE-HOT/div[3]/ul[0]/li[0]", "#STORAGE-HOT/div[3]/ul[0]/li[1]", "#STORAGE-HOT/div[5]/ul[0]/li[0]", "#STORAGE-HOT/div[5]/ul[0]/li[1]", "#STORAGE-HOT/p[1]", "#STORAGE-HOT/p[4]", "#STORAGE-HOT/p[6]"]}], "language": "zh", "original_text": {"/versions/11/description/0": "To allow for high concurrency, PostgreSQL uses multiversion concurrency control ( MVCC ) to store rows. However, MVCC has some downsides for update queries. Specifically, updates require new versions of rows to be added to tables. This can also require new index entries for each updated row, and removal of old versions of rows and their index entries can be expensive.", "/versions/11/facts/0/label": "Definition scope", "/versions/11/facts/0/value": "Same-version core physical storage documentation", "/versions/11/related/0/label": "Storage Parameters"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "9dde9fbc23a14dc2ffedd35d421f161dd8a1111484bd3e59ea4cda3a7de375f5", "canonical_center_text_hash": "3c65dd1d7757417f22a9d5de228b589f872da0420577c6ad7cce973b5b74c50c"}, "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "comparison_data": {"layouts": []}, "comparison_hash": "27341929154bfb55531f03501322b65af719c5561f3c4ddc9528a14aa4df69b5", "manual_language": "zh", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/11/mvcc.html#MVCC-INTRO\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/11/sql-createtable.html\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/11/monitoring-stats.html#PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/11/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "12": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "related": [{"url": "/wiki/tableam/?v=12", "label": "Table AM"}, {"url": "/wiki/relopts/?v=12", "label": "\u5b58\u50a8\u53c2\u6570"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "12.22", "major": "12", "channel": "stable", "revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "sources": [{"url": "/docs/12/storage-hot.html", "path": "storage-hot.html", "label": "PostgreSQL 12 English manual", "sha256": "542148afd017c2de963e269f0482c2d221d0538dcf3e677d662a29e5a044e906"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/12/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "12", "build_id": 65, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "7f28d1de83cfdbcc5e9203a9084a5b91e5000be4803b3e28efe9c812c238e46a", "fragment_sha256": "362018d2e2df123133f559e54c4314e1b2ef343185fb809a395a3319e632a604", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:86d2ff781f93e1de17122ebc514d5e64fcb63fed15941f496d7e146c6dcc7a49", "translated_from_revision": null}, "body_sha256": "d7ec4e980f8d3a300148d50b2431bb3046d71e6d10fb0f0a73003b81d9229a32", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "facts_zh": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "sections": [], "center_zh": {"title": "Heap-Only Tuples ( HOT )", "locale": "zh-Hans", "source": {"key": "storage-hot", "locale": "zh-Hans", "version": "12", "text_hash": "33e11abe09e36fb5d86d6f91ba8370aaf53667e4328ed587cd38b8e5958039dc", "collection": "storage", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "payload": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/12/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "12", "build_id": 65, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "7f28d1de83cfdbcc5e9203a9084a5b91e5000be4803b3e28efe9c812c238e46a", "fragment_sha256": "362018d2e2df123133f559e54c4314e1b2ef343185fb809a395a3319e632a604", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:86d2ff781f93e1de17122ebc514d5e64fcb63fed15941f496d7e146c6dcc7a49", "translated_from_revision": null}, "body_sha256": "d7ec4e980f8d3a300148d50b2431bb3046d71e6d10fb0f0a73003b81d9229a32", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "sections": [], "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span class=\"productname\">PostgreSQL</span> \u4f7f\u7528<a class=\"link\" href=\"/zh/docs/12/mvcc.html#MVCC-INTRO\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym class=\"acronym\">MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym class=\"acronym\">MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span class=\"productname\">PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym class=\"acronym\">HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a class=\"link\" href=\"/zh/docs/12/sql-createtable.html#RELOPTION-FILLFACTOR\"><code class=\"literal\">fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a class=\"link\" href=\"/zh/docs/12/monitoring-stats.html#PG-STAT-ALL-TABLES-VIEW\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/12/storage-hot.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "version": "12", "link_map": {"/zh/docs/12/storage-hot.html": "/docs/12/storage-hot.html", "/zh/docs/12/mvcc.html#MVCC-INTRO": "/docs/12/mvcc.html#MVCC-INTRO", "/zh/docs/12/sql-createtable.html#RELOPTION-FILLFACTOR": "/docs/12/sql-createtable.html#RELOPTION-FILLFACTOR", "/zh/docs/12/monitoring-stats.html#PG-STAT-ALL-TABLES-VIEW": "/docs/12/monitoring-stats.html#PG-STAT-ALL-TABLES-VIEW"}, "body_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/12/mvcc.html#MVCC-INTRO\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/12/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/12/monitoring-stats.html#PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/12/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "63248b1837d1736cf7406a79f6e79a4e139f41537eaee99c9d19e327a8b8d2bc", "content_hash": "33e11abe09e36fb5d86d6f91ba8370aaf53667e4328ed587cd38b8e5958039dc", "source_database": "center", "source_revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "signature": "", "tables_zh": [], "description": ["\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002"], "manual_html": "", "manual_path": "/docs/12/storage-hot.html", "sections_zh": [], "localization": {"status": "complete", "sources": [{"url": "/docs/12/storage-hot.html", "method": "same-major semantic node", "sha256": "186bff050a116a5313e2fc850e44c31f918319af3111fdea390ad3b5ddd1ab1d", "language": "zh", "matched_nodes": ["#STORAGE-HOT/div[3]/ul[0]/li[0]", "#STORAGE-HOT/div[3]/ul[0]/li[1]", "#STORAGE-HOT/div[5]/ul[0]/li[0]", "#STORAGE-HOT/div[5]/ul[0]/li[1]", "#STORAGE-HOT/p[1]", "#STORAGE-HOT/p[4]", "#STORAGE-HOT/p[6]"]}], "language": "zh", "original_text": {"/versions/12/description/0": "To allow for high concurrency, PostgreSQL uses multiversion concurrency control ( MVCC ) to store rows. However, MVCC has some downsides for update queries. Specifically, updates require new versions of rows to be added to tables. This can also require new index entries for each updated row, and removal of old versions of rows and their index entries can be expensive.", "/versions/12/facts/0/label": "Definition scope", "/versions/12/facts/0/value": "Same-version core physical storage documentation", "/versions/12/related/1/label": "Storage Parameters"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "cf9d4045230590961ab7a4b7c380b4df415a90d8f29ff0dd776d209b5d8fd2e8", "canonical_center_text_hash": "33e11abe09e36fb5d86d6f91ba8370aaf53667e4328ed587cd38b8e5958039dc"}, "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "comparison_data": {"layouts": []}, "comparison_hash": "27341929154bfb55531f03501322b65af719c5561f3c4ddc9528a14aa4df69b5", "manual_language": "zh", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/12/mvcc.html#MVCC-INTRO\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/12/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/12/monitoring-stats.html#PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/12/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "13": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "related": [{"url": "/wiki/tableam/?v=13", "label": "Table AM"}, {"url": "/wiki/relopts/?v=13", "label": "\u5b58\u50a8\u53c2\u6570"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "13.23", "major": "13", "channel": "stable", "revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "sources": [{"url": "/docs/13/storage-hot.html", "path": "storage-hot.html", "label": "PostgreSQL 13 English manual", "sha256": "53c16d6399cb9405b10ada745f4811e61a208b129e55658316ce78dde6f1c72e"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/13/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "13", "build_id": 66, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "39c373e09c05dad398f363c50ae147bda1ec6d558140520cc918a9e6ab54a825", "fragment_sha256": "c37c90b7675d5a79331152d480826426f0bb39767b24cd36d6586cc95eee4921", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:a13a825c39f0268ef1cfe9137e283e38d0da73b2d7894f0733c7b26372a4f6a4", "translated_from_revision": null}, "body_sha256": "9e9ab7df1bdb4b654bd8ae8b32e6e4feae99bdff8d33168cbd0f2dd3d1a3d890", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "facts_zh": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "sections": [], "center_zh": {"title": "Heap-Only Tuples ( HOT )", "locale": "zh-Hans", "source": {"key": "storage-hot", "locale": "zh-Hans", "version": "13", "text_hash": "4bf9192ca84bd1d84e4f2cac32adce81c8b4a0a32c72230301672f217edabaf4", "collection": "storage", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "payload": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/13/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "13", "build_id": 66, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "39c373e09c05dad398f363c50ae147bda1ec6d558140520cc918a9e6ab54a825", "fragment_sha256": "c37c90b7675d5a79331152d480826426f0bb39767b24cd36d6586cc95eee4921", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "snapshot:sha256:a13a825c39f0268ef1cfe9137e283e38d0da73b2d7894f0733c7b26372a4f6a4", "translated_from_revision": null}, "body_sha256": "9e9ab7df1bdb4b654bd8ae8b32e6e4feae99bdff8d33168cbd0f2dd3d1a3d890", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "sections": [], "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span class=\"productname\">PostgreSQL</span> \u4f7f\u7528<a class=\"link\" href=\"/zh/docs/13/mvcc.html#MVCC-INTRO\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym class=\"acronym\">MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym class=\"acronym\">MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span class=\"productname\">PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym class=\"acronym\">HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a class=\"link\" href=\"/zh/docs/13/sql-createtable.html#RELOPTION-FILLFACTOR\"><code class=\"literal\">fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a class=\"link\" href=\"/zh/docs/13/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/13/storage-hot.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "version": "13", "link_map": {"/zh/docs/13/storage-hot.html": "/docs/13/storage-hot.html", "/zh/docs/13/mvcc.html#MVCC-INTRO": "/docs/13/mvcc.html#MVCC-INTRO", "/zh/docs/13/sql-createtable.html#RELOPTION-FILLFACTOR": "/docs/13/sql-createtable.html#RELOPTION-FILLFACTOR", "/zh/docs/13/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW": "/docs/13/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW"}, "body_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/13/mvcc.html#MVCC-INTRO\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/13/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/13/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/13/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "277fa20667a9c64c2fe5430a2c215fd6b390d3cf64438afbf583fd71c87214c9", "content_hash": "4bf9192ca84bd1d84e4f2cac32adce81c8b4a0a32c72230301672f217edabaf4", "source_database": "center", "source_revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "signature": "", "tables_zh": [], "description": ["\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002"], "manual_html": "", "manual_path": "/docs/13/storage-hot.html", "sections_zh": [], "localization": {"status": "complete", "sources": [{"url": "/docs/13/storage-hot.html", "method": "same-major semantic node", "sha256": "7ade566861a46d0ad7555ad1f3501130ac047f17b57ec21e013ee12d7d35e57d", "language": "zh", "matched_nodes": ["#STORAGE-HOT/div[3]/ul[0]/li[0]", "#STORAGE-HOT/div[3]/ul[0]/li[1]", "#STORAGE-HOT/div[5]/ul[0]/li[0]", "#STORAGE-HOT/div[5]/ul[0]/li[1]", "#STORAGE-HOT/p[1]", "#STORAGE-HOT/p[4]", "#STORAGE-HOT/p[6]"]}], "language": "zh", "original_text": {"/versions/13/description/0": "To allow for high concurrency, PostgreSQL uses multiversion concurrency control ( MVCC ) to store rows. However, MVCC has some downsides for update queries. Specifically, updates require new versions of rows to be added to tables. This can also require new index entries for each updated row, and removal of old versions of rows and their index entries can be expensive.", "/versions/13/facts/0/label": "Definition scope", "/versions/13/facts/0/value": "Same-version core physical storage documentation", "/versions/13/related/1/label": "Storage Parameters"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "5e62ebb664261c12050d902a7ddb0d0ad245f9d27a3dfbddf95f7c4509d213f3", "canonical_center_text_hash": "4bf9192ca84bd1d84e4f2cac32adce81c8b4a0a32c72230301672f217edabaf4"}, "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "comparison_data": {"layouts": []}, "comparison_hash": "27341929154bfb55531f03501322b65af719c5561f3c4ddc9528a14aa4df69b5", "manual_language": "zh", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/13/mvcc.html#MVCC-INTRO\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/13/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/13/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/13/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "14": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "related": [{"url": "/wiki/tableam/?v=14", "label": "Table AM"}, {"url": "/wiki/relopts/?v=14", "label": "\u5b58\u50a8\u53c2\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/storage-hot.html", "path": "storage-hot.html", "label": "PostgreSQL 14 English manual", "sha256": "0a19c2cba66e8ded09f20039eeb46932c988a5dfc56f4caa9e40a1c20f1d3c02"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/14/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "14", "build_id": 99, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "f1bbef7c8fcd3b7f56c8e76c91d6d935571c6f927e6acb35bdb4040479f3ce5c", "fragment_sha256": "7f6b290f87889d12c15d41391fec359d00105a93a99aaccca5183b5fe7fc97e1", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:87e6aa4fd6e1ec85c5f4a6de4f5647cfd9e5de734ca2c266d32b6d6192c662ef", "translated_from_revision": null}, "body_sha256": "44e178d421c88b6183b4e018dd02839117f7ce1c69209b292405c25e4c324c6d", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "facts_zh": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "sections": [], "center_zh": {"title": "Heap-Only Tuples ( HOT )", "locale": "zh-Hans", "source": {"key": "storage-hot", "locale": "zh-Hans", "version": "14", "text_hash": "a2e9306e8a87f553691c5d8c56977d6679d84d4bb616cc290eaa2dcedae130b6", "collection": "storage", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "payload": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/14/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "14", "build_id": 99, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "f1bbef7c8fcd3b7f56c8e76c91d6d935571c6f927e6acb35bdb4040479f3ce5c", "fragment_sha256": "7f6b290f87889d12c15d41391fec359d00105a93a99aaccca5183b5fe7fc97e1", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:87e6aa4fd6e1ec85c5f4a6de4f5647cfd9e5de734ca2c266d32b6d6192c662ef", "translated_from_revision": null}, "body_sha256": "44e178d421c88b6183b4e018dd02839117f7ce1c69209b292405c25e4c324c6d", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "sections": [], "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span class=\"productname\">PostgreSQL</span> \u4f7f\u7528<a class=\"link\" href=\"/zh/docs/14/mvcc.html#MVCC-INTRO\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym class=\"acronym\">MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym class=\"acronym\">MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span class=\"productname\">PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym class=\"acronym\">HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a class=\"link\" href=\"/zh/docs/14/sql-createtable.html#RELOPTION-FILLFACTOR\"><code class=\"literal\">fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a class=\"link\" href=\"/zh/docs/14/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/14/storage-hot.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "version": "14", "link_map": {"/zh/docs/14/storage-hot.html": "/docs/14/storage-hot.html", "/zh/docs/14/mvcc.html#MVCC-INTRO": "/docs/14/mvcc.html#MVCC-INTRO", "/zh/docs/14/sql-createtable.html#RELOPTION-FILLFACTOR": "/docs/14/sql-createtable.html#RELOPTION-FILLFACTOR", "/zh/docs/14/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW": "/docs/14/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW"}, "body_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/14/mvcc.html#MVCC-INTRO\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/14/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/14/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/14/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "c7f7c5aa022c67764da7e3c0973df44d2f6fa7c44061273f0c38d6030f1fad10", "content_hash": "a2e9306e8a87f553691c5d8c56977d6679d84d4bb616cc290eaa2dcedae130b6", "source_database": "center", "source_revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "signature": "", "tables_zh": [], "description": ["\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002"], "manual_html": "", "manual_path": "/docs/14/storage-hot.html", "sections_zh": [], "localization": {"status": "complete", "sources": [{"url": "/docs/14/storage-hot.html", "method": "same-major semantic node", "sha256": "76153e1723c9a0b2a4a26949e2b0f4de8edc3e2c466dc7be5b15630733a5d8cc", "language": "zh", "matched_nodes": ["#STORAGE-HOT/div[3]/ul[0]/li[0]", "#STORAGE-HOT/div[3]/ul[0]/li[1]", "#STORAGE-HOT/div[5]/ul[0]/li[0]", "#STORAGE-HOT/div[5]/ul[0]/li[1]", "#STORAGE-HOT/p[1]", "#STORAGE-HOT/p[4]", "#STORAGE-HOT/p[6]"]}], "language": "zh", "original_text": {"/versions/14/description/0": "To allow for high concurrency, PostgreSQL uses multiversion concurrency control ( MVCC ) to store rows. However, MVCC has some downsides for update queries. Specifically, updates require new versions of rows to be added to tables. This can also require new index entries for each updated row, and removal of old versions of rows and their index entries can be expensive.", "/versions/14/facts/0/label": "Definition scope", "/versions/14/facts/0/value": "Same-version core physical storage documentation", "/versions/14/related/1/label": "Storage Parameters"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "2e69328832b75ca836c62abe034fe8ad2736232e3e6f304be8d048a6cbc0ffff", "canonical_center_text_hash": "a2e9306e8a87f553691c5d8c56977d6679d84d4bb616cc290eaa2dcedae130b6"}, "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "comparison_data": {"layouts": []}, "comparison_hash": "27341929154bfb55531f03501322b65af719c5561f3c4ddc9528a14aa4df69b5", "manual_language": "zh", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/14/mvcc.html#MVCC-INTRO\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/14/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/14/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/14/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "15": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "related": [{"url": "/wiki/tableam/?v=15", "label": "Table AM"}, {"url": "/wiki/relopts/?v=15", "label": "\u5b58\u50a8\u53c2\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/storage-hot.html", "path": "storage-hot.html", "label": "PostgreSQL 15 English manual", "sha256": "31355e5d6862558e5792566b5af1ac97482933346a8dfc4973df0751be3b2efc"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/15/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "15", "build_id": 101, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "f2e6dc90870a56d55df8245e75a431753b6dc4f2f509c5377375b83efbfa7223", "fragment_sha256": "855ecba2959a06367319ce40d3e792143289f405fc742e420d55292318d08628", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:6bce1a2df9170cb1146a1411c5547190856638221a6539e618ee1016c9f493ad", "translated_from_revision": null}, "body_sha256": "8d031055efed81c573deb8096976a37c963c7a80917482d3a9793ee06fbdbab4", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "facts_zh": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "sections": [], "center_zh": {"title": "Heap-Only Tuples ( HOT )", "locale": "zh-Hans", "source": {"key": "storage-hot", "locale": "zh-Hans", "version": "15", "text_hash": "12578dca044749252d06bf7569a3eac2b95851baeec0b28301c98c02c24ca90d", "collection": "storage", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "payload": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/15/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "15", "build_id": 101, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "f2e6dc90870a56d55df8245e75a431753b6dc4f2f509c5377375b83efbfa7223", "fragment_sha256": "855ecba2959a06367319ce40d3e792143289f405fc742e420d55292318d08628", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:6bce1a2df9170cb1146a1411c5547190856638221a6539e618ee1016c9f493ad", "translated_from_revision": null}, "body_sha256": "8d031055efed81c573deb8096976a37c963c7a80917482d3a9793ee06fbdbab4", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "sections": [], "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span class=\"productname\">PostgreSQL</span> \u4f7f\u7528<a class=\"link\" href=\"/zh/docs/15/mvcc.html#MVCC-INTRO\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym class=\"acronym\">MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym class=\"acronym\">MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span class=\"productname\">PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym class=\"acronym\">HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c\n  <acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a class=\"link\" href=\"/zh/docs/15/sql-createtable.html#RELOPTION-FILLFACTOR\"><code class=\"literal\">fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a class=\"link\" href=\"/zh/docs/15/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/15/storage-hot.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "version": "15", "link_map": {"/zh/docs/15/storage-hot.html": "/docs/15/storage-hot.html", "/zh/docs/15/mvcc.html#MVCC-INTRO": "/docs/15/mvcc.html#MVCC-INTRO", "/zh/docs/15/sql-createtable.html#RELOPTION-FILLFACTOR": "/docs/15/sql-createtable.html#RELOPTION-FILLFACTOR", "/zh/docs/15/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW": "/docs/15/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW"}, "body_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/15/mvcc.html#MVCC-INTRO\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c\n  <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/15/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/15/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/15/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "bb3dd5d5c606b1278ac49fcb082cad48090d2e6acaa2d07b57611de4cd5eeab8", "content_hash": "12578dca044749252d06bf7569a3eac2b95851baeec0b28301c98c02c24ca90d", "source_database": "center", "source_revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "signature": "", "tables_zh": [], "description": ["\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002"], "manual_html": "", "manual_path": "/docs/15/storage-hot.html", "sections_zh": [], "localization": {"status": "complete", "sources": [{"url": "/docs/15/storage-hot.html", "method": "same-major semantic node", "sha256": "fdef2f06daaae430f3abb1cba828221facc1f4378cbfb8291c19cdf9e5a6d37d", "language": "zh", "matched_nodes": ["#STORAGE-HOT/div[3]/ul[0]/li[0]", "#STORAGE-HOT/div[3]/ul[0]/li[1]", "#STORAGE-HOT/div[5]/ul[0]/li[0]", "#STORAGE-HOT/div[5]/ul[0]/li[1]", "#STORAGE-HOT/p[1]", "#STORAGE-HOT/p[4]", "#STORAGE-HOT/p[6]"]}], "language": "zh", "original_text": {"/versions/15/description/0": "To allow for high concurrency, PostgreSQL uses multiversion concurrency control ( MVCC ) to store rows. However, MVCC has some downsides for update queries. Specifically, updates require new versions of rows to be added to tables. This can also require new index entries for each updated row, and removal of old versions of rows and their index entries can be expensive.", "/versions/15/facts/0/label": "Definition scope", "/versions/15/facts/0/value": "Same-version core physical storage documentation", "/versions/15/related/1/label": "Storage Parameters"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "fba7e405fd27336392a86339965e9c5a3ce283b9f10c394d3952e3862a684d85", "canonical_center_text_hash": "12578dca044749252d06bf7569a3eac2b95851baeec0b28301c98c02c24ca90d"}, "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "comparison_data": {"layouts": []}, "comparison_hash": "27341929154bfb55531f03501322b65af719c5561f3c4ddc9528a14aa4df69b5", "manual_language": "zh", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/15/mvcc.html#MVCC-INTRO\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u603b\u4e4b\uff0c\u53ea\u6709\u5728\u7d22\u5f15\u4f7f\u7528\u7684\u5217\u672a\u88ab\u66f4\u65b0\u65f6\uff0c\u624d\u80fd\u4ea7\u751f\u5806\u5185\u5143\u7ec4\u66f4\u65b0\u3002\u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c\n  <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/15/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/15/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/15/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "16": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "related": [{"url": "/wiki/tableam/?v=16", "label": "Table AM"}, {"url": "/wiki/relopts/?v=16", "label": "\u5b58\u50a8\u53c2\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/storage-hot.html", "path": "storage-hot.html", "label": "PostgreSQL 16 English manual", "sha256": "46611e7b1a1f0dca5a5a6f0b103031a24e882f833efce1e03b0f88ff6c5e6f6c"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/16/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "16", "build_id": 103, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "7637cd4b5614c9fddd45840e6d3275fb20b28bd910764c60e13194e63a80d952", "fragment_sha256": "5061c3219a71df0f57d80b9e0d7e7b6a38628e172e4c1f24bf58c409bda3b707", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:80579a071736780f9c4022bb5148e1fb1256f1a33591306af67816e9e9bf3a9b", "translated_from_revision": null}, "body_sha256": "da6d3cd93f35a4b44be220ca59e6265dcbc995fbd36417a0045bb5c30f2e1d06", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "facts_zh": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "sections": [], "center_zh": {"title": "Heap-Only Tuples ( HOT )", "locale": "zh-Hans", "source": {"key": "storage-hot", "locale": "zh-Hans", "version": "16", "text_hash": "64de9582a4fdc57449cfa971f9fbb21a0765ec94e9c8dc9cead7a88e46e1d9fb", "collection": "storage", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "payload": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/16/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "16", "build_id": 103, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "7637cd4b5614c9fddd45840e6d3275fb20b28bd910764c60e13194e63a80d952", "fragment_sha256": "5061c3219a71df0f57d80b9e0d7e7b6a38628e172e4c1f24bf58c409bda3b707", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:80579a071736780f9c4022bb5148e1fb1256f1a33591306af67816e9e9bf3a9b", "translated_from_revision": null}, "body_sha256": "da6d3cd93f35a4b44be220ca59e6265dcbc995fbd36417a0045bb5c30f2e1d06", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "sections": [], "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span class=\"productname\">PostgreSQL</span> \u4f7f\u7528<a class=\"link\" href=\"/zh/docs/16/mvcc-intro.html\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym class=\"acronym\">MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym class=\"acronym\">MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span class=\"productname\">PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym class=\"acronym\">HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a class=\"link\" href=\"/zh/docs/16/sql-createtable.html#RELOPTION-FILLFACTOR\"><code class=\"literal\">fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a class=\"link\" href=\"/zh/docs/16/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/16/storage-hot.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "version": "16", "link_map": {"/zh/docs/16/mvcc-intro.html": "/docs/16/mvcc-intro.html", "/zh/docs/16/storage-hot.html": "/docs/16/storage-hot.html", "/zh/docs/16/sql-createtable.html#RELOPTION-FILLFACTOR": "/docs/16/sql-createtable.html#RELOPTION-FILLFACTOR", "/zh/docs/16/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW": "/docs/16/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW"}, "body_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/16/mvcc-intro.html\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/16/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/16/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/16/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "68b2d94a021139a57b0849a9b479cb7b5bcb268e1dfea6544a8ba3b55312e80a", "content_hash": "64de9582a4fdc57449cfa971f9fbb21a0765ec94e9c8dc9cead7a88e46e1d9fb", "source_database": "center", "source_revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "signature": "", "tables_zh": [], "description": ["\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002"], "manual_html": "", "manual_path": "/docs/16/storage-hot.html", "sections_zh": [], "localization": {"status": "complete", "sources": [{"url": "/docs/16/storage-hot.html", "method": "same-major semantic node", "sha256": "517ac8f08688f93c18214c784f69135d2038dbafa96b7c60a74b3622ff429266", "language": "zh", "matched_nodes": ["#STORAGE-HOT/div[3]/ul[0]/li[0]", "#STORAGE-HOT/div[3]/ul[0]/li[1]", "#STORAGE-HOT/div[5]/ul[0]/li[0]", "#STORAGE-HOT/div[5]/ul[0]/li[1]", "#STORAGE-HOT/p[1]", "#STORAGE-HOT/p[4]", "#STORAGE-HOT/p[6]"]}], "language": "zh", "original_text": {"/versions/16/description/0": "To allow for high concurrency, PostgreSQL uses multiversion concurrency control ( MVCC ) to store rows. However, MVCC has some downsides for update queries. Specifically, updates require new versions of rows to be added to tables. This can also require new index entries for each updated row, and removal of old versions of rows and their index entries can be expensive.", "/versions/16/facts/0/label": "Definition scope", "/versions/16/facts/0/value": "Same-version core physical storage documentation", "/versions/16/related/1/label": "Storage Parameters"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "e55890722ef24de550a71797ae29922c32afe48d9615ee93e99dfda4dbc503ed", "canonical_center_text_hash": "64de9582a4fdc57449cfa971f9fbb21a0765ec94e9c8dc9cead7a88e46e1d9fb"}, "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "comparison_data": {"layouts": []}, "comparison_hash": "27341929154bfb55531f03501322b65af719c5561f3c4ddc9528a14aa4df69b5", "manual_language": "zh", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/16/mvcc-intro.html\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/16/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/16/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/16/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "17": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "related": [{"url": "/wiki/tableam/?v=17", "label": "Table AM"}, {"url": "/wiki/relopts/?v=17", "label": "\u5b58\u50a8\u53c2\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/storage-hot.html", "path": "storage-hot.html", "label": "PostgreSQL 17 English manual", "sha256": "97cea1175079a02c0e4df4f0d127902e35f32306296ef7bceed9f1fc8adae908"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/17/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "17", "build_id": 105, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "017dc86130649bdd8f79f608b71e04cc165af87fb6d6897108990d91595a6630", "fragment_sha256": "13f8799c2ca5894111eec0b7daa8202f19ee29945bb2a70633d072f5d2da6ec3", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:7340767258d21c21b36f373f1fff6bab2be18e0daca13a865129db6105c09efd", "translated_from_revision": null}, "body_sha256": "b1e4f38d395d9560850278f1cfcf5f0495793f70eeb49c805ac871e0ff1ba9ee", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "facts_zh": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "sections": [], "center_zh": {"title": "Heap-Only Tuples ( HOT )", "locale": "zh-Hans", "source": {"key": "storage-hot", "locale": "zh-Hans", "version": "17", "text_hash": "88e20157fcb2f6f16d9a65d005488c09aa1f100b6db7e5b34ad6c93a2921e9f8", "collection": "storage", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "payload": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/17/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "17", "build_id": 105, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "017dc86130649bdd8f79f608b71e04cc165af87fb6d6897108990d91595a6630", "fragment_sha256": "13f8799c2ca5894111eec0b7daa8202f19ee29945bb2a70633d072f5d2da6ec3", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:7340767258d21c21b36f373f1fff6bab2be18e0daca13a865129db6105c09efd", "translated_from_revision": null}, "body_sha256": "b1e4f38d395d9560850278f1cfcf5f0495793f70eeb49c805ac871e0ff1ba9ee", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "sections": [], "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span class=\"productname\">PostgreSQL</span> \u4f7f\u7528<a class=\"link\" href=\"/zh/docs/17/mvcc-intro.html\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym class=\"acronym\">MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym class=\"acronym\">MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span class=\"productname\">PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym class=\"acronym\">HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a class=\"link\" href=\"/zh/docs/17/sql-createtable.html#RELOPTION-FILLFACTOR\"><code class=\"literal\">fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a class=\"link\" href=\"/zh/docs/17/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/17/storage-hot.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "version": "17", "link_map": {"/zh/docs/17/mvcc-intro.html": "/docs/17/mvcc-intro.html", "/zh/docs/17/storage-hot.html": "/docs/17/storage-hot.html", "/zh/docs/17/sql-createtable.html#RELOPTION-FILLFACTOR": "/docs/17/sql-createtable.html#RELOPTION-FILLFACTOR", "/zh/docs/17/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW": "/docs/17/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW"}, "body_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/17/mvcc-intro.html\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/17/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/17/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/17/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "35092c2c7e9640fe8ed885127d6013bf167eaa5a3c4520fc5b0f6253e66de709", "content_hash": "88e20157fcb2f6f16d9a65d005488c09aa1f100b6db7e5b34ad6c93a2921e9f8", "source_database": "center", "source_revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "signature": "", "tables_zh": [], "description": ["\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002"], "manual_html": "", "manual_path": "/docs/17/storage-hot.html", "sections_zh": [], "localization": {"status": "complete", "sources": [{"url": "/docs/17/storage-hot.html", "method": "same-major semantic node", "sha256": "de218afa1c627cf032922b1bbc2f665376595f2dfad9ffe4ff7822c8be39d1fd", "language": "zh", "matched_nodes": ["#STORAGE-HOT/div[3]/ul[0]/li[0]", "#STORAGE-HOT/div[3]/ul[0]/li[1]", "#STORAGE-HOT/div[5]/ul[0]/li[0]", "#STORAGE-HOT/div[5]/ul[0]/li[1]", "#STORAGE-HOT/p[1]", "#STORAGE-HOT/p[4]", "#STORAGE-HOT/p[6]"]}], "language": "zh", "original_text": {"/versions/17/description/0": "To allow for high concurrency, PostgreSQL uses multiversion concurrency control ( MVCC ) to store rows. However, MVCC has some downsides for update queries. Specifically, updates require new versions of rows to be added to tables. This can also require new index entries for each updated row, and removal of old versions of rows and their index entries can be expensive.", "/versions/17/facts/0/label": "Definition scope", "/versions/17/facts/0/value": "Same-version core physical storage documentation", "/versions/17/related/1/label": "Storage Parameters"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "6c16a472485ec10d448ab5f286ce9e6a71e93a6af5e04099ba0b7aeb40fb1674", "canonical_center_text_hash": "88e20157fcb2f6f16d9a65d005488c09aa1f100b6db7e5b34ad6c93a2921e9f8"}, "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "comparison_data": {"layouts": []}, "comparison_hash": "27341929154bfb55531f03501322b65af719c5561f3c4ddc9528a14aa4df69b5", "manual_language": "zh", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/17/mvcc-intro.html\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/17/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/17/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/17/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "18": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "related": [{"url": "/wiki/tableam/?v=18", "label": "Table AM"}, {"url": "/wiki/relopts/?v=18", "label": "\u5b58\u50a8\u53c2\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/storage-hot.html", "path": "storage-hot.html", "label": "PostgreSQL 18 English manual", "sha256": "10b16ef2342681e7c41be6a1bc1e3ea1cb3ba9f592be29dcc941fba269713bfa"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/18/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "f5bf1f6d5a1e756423924a704ecc86d3bf3d694f4438807bfd7cbb94d62730c2", "fragment_sha256": "55a9ed3b1f8b94ee538608420299606b3d10c5953ad95040bdfd5ca021ffe3d8", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "50b4ecc0d6fcf53d9593ecd45ff72ab0839454f21c8ea33929ef3578406bb044", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "facts_zh": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "sections": [], "center_zh": {"title": "Heap-Only Tuples ( HOT )", "locale": "zh-Hans", "source": {"key": "storage-hot", "locale": "zh-Hans", "version": "18", "text_hash": "0129949e93cb50dd0e269c46cfa608726e73082a8e7d96a6e5a8701f509af1b6", "collection": "storage", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "payload": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/18/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "f5bf1f6d5a1e756423924a704ecc86d3bf3d694f4438807bfd7cbb94d62730c2", "fragment_sha256": "55a9ed3b1f8b94ee538608420299606b3d10c5953ad95040bdfd5ca021ffe3d8", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "50b4ecc0d6fcf53d9593ecd45ff72ab0839454f21c8ea33929ef3578406bb044", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sections": [], "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span class=\"productname\">PostgreSQL</span> \u4f7f\u7528<a class=\"link\" href=\"/zh/docs/18/mvcc-intro.html\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym class=\"acronym\">MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym class=\"acronym\">MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span class=\"productname\">PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym class=\"acronym\">HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a class=\"link\" href=\"/zh/docs/18/sql-createtable.html#RELOPTION-FILLFACTOR\"><code class=\"literal\">fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a class=\"link\" href=\"/zh/docs/18/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/18/storage-hot.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "version": "18", "link_map": {"/zh/docs/18/mvcc-intro.html": "/docs/18/mvcc-intro.html", "/zh/docs/18/storage-hot.html": "/docs/18/storage-hot.html", "/zh/docs/18/sql-createtable.html#RELOPTION-FILLFACTOR": "/docs/18/sql-createtable.html#RELOPTION-FILLFACTOR", "/zh/docs/18/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW": "/docs/18/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW"}, "body_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/18/mvcc-intro.html\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/18/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/18/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/18/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "566b93f449f75da4c8f07520a3646deeeef892462b5549f8309017e17dcf8a84", "content_hash": "0129949e93cb50dd0e269c46cfa608726e73082a8e7d96a6e5a8701f509af1b6", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "signature": "", "tables_zh": [], "description": ["\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002"], "manual_html": "", "manual_path": "/docs/18/storage-hot.html", "sections_zh": [], "localization": {"status": "complete", "sources": [{"url": "/docs/18/storage-hot.html", "method": "same-major semantic node", "sha256": "d2f65aa889fefb8a17675ec3a2f25d5ef8b7d49a8592b484986f7512a878630e", "language": "zh", "matched_nodes": ["#STORAGE-HOT/div[3]/ul[0]/li[0]", "#STORAGE-HOT/div[3]/ul[0]/li[1]", "#STORAGE-HOT/div[5]/ul[0]/li[0]", "#STORAGE-HOT/div[5]/ul[0]/li[1]", "#STORAGE-HOT/p[1]", "#STORAGE-HOT/p[4]", "#STORAGE-HOT/p[6]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "To allow for high concurrency, PostgreSQL uses multiversion concurrency control ( MVCC ) to store rows. However, MVCC has some downsides for update queries. Specifically, updates require new versions of rows to be added to tables. This can also require new index entries for each updated row, and removal of old versions of rows and their index entries can be expensive.", "/versions/18/facts/0/label": "Definition scope", "/versions/18/facts/0/value": "Same-version core physical storage documentation", "/versions/18/related/1/label": "Storage Parameters"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "e5e38c7807fb239df9941c0b0566be2a1ace94e75fe2be8fa7a56172282063b8", "canonical_center_text_hash": "0129949e93cb50dd0e269c46cfa608726e73082a8e7d96a6e5a8701f509af1b6"}, "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "comparison_data": {"layouts": []}, "comparison_hash": "27341929154bfb55531f03501322b65af719c5561f3c4ddc9528a14aa4df69b5", "manual_language": "zh", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/18/mvcc-intro.html\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/18/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/18/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/18/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "center_zh_rendered": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/docs/18/mvcc-intro.html\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08MVCC\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0cMVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08HOT\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/docs/18/sql-createtable.html#RELOPTION-FILLFACTOR\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0cHOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/docs/18/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/docs/18/storage-hot.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "19": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "related": [{"url": "/wiki/tableam/?v=19", "label": "Table AM"}, {"url": "/wiki/relopts/?v=19", "label": "\u5b58\u50a8\u53c2\u6570"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19rc1/postgresql-19rc1.tar.bz2", "label": "19rc1", "major": "19", "channel": "preview", "revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "sources": [{"url": "/docs/19/storage-hot.html", "path": "storage-hot.html", "label": "PostgreSQL 19 English manual", "sha256": "48a4eb0702630b891e935d19aafc2da55a6aa0a610501f7c33c7f413c7c8bba4"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/19/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "19", "build_id": 109, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "43b96e1727134bff721611026b8687133378e5fbeff584cb83706c56c761753f", "fragment_sha256": "43ef3dfe02bfcf77a428dc072a07c10b159d3cae356900de8893a0a58b060f20", "source_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:65fda1f1b62a89992b84014c9157e61b67dbe8190e93945826efec668fad038c", "translated_from_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "body_sha256": "b918c9ec0347128516d7a36b01b3bf1560f20ac9d24acec84b8565acce439153", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "facts_zh": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "sections": [], "center_zh": {"title": "Heap-Only Tuples ( HOT )", "locale": "zh-Hans", "source": {"key": "storage-hot", "locale": "zh-Hans", "version": "19", "text_hash": "9c75f794c9843aa4c889d06bab783edffd2a035a544460b86c4fb1aeacc4e596", "collection": "storage", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "payload": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/19/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "19", "build_id": 109, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "43b96e1727134bff721611026b8687133378e5fbeff584cb83706c56c761753f", "fragment_sha256": "43ef3dfe02bfcf77a428dc072a07c10b159d3cae356900de8893a0a58b060f20", "source_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:65fda1f1b62a89992b84014c9157e61b67dbe8190e93945826efec668fad038c", "translated_from_revision": "sha256:af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "body_sha256": "b918c9ec0347128516d7a36b01b3bf1560f20ac9d24acec84b8565acce439153", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "sections": [], "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span class=\"productname\">PostgreSQL</span> \u4f7f\u7528<a class=\"link\" href=\"/zh/docs/19/mvcc-intro.html\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym class=\"acronym\">MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym class=\"acronym\">MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span class=\"productname\">PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym class=\"acronym\">HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a class=\"link\" href=\"/zh/docs/19/sql-createtable.html#RELOPTION-FILLFACTOR\"><code class=\"literal\">fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a class=\"link\" href=\"/zh/docs/19/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/19/storage-hot.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "version": "19", "link_map": {"/zh/docs/19/mvcc-intro.html": "/docs/19/mvcc-intro.html", "/zh/docs/19/storage-hot.html": "/docs/19/storage-hot.html", "/zh/docs/19/sql-createtable.html#RELOPTION-FILLFACTOR": "/docs/19/sql-createtable.html#RELOPTION-FILLFACTOR", "/zh/docs/19/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW": "/docs/19/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW"}, "body_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/19/mvcc-intro.html\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/19/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/19/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/19/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "433e416b5a7b1dc92c4194237edb48a8809a143c678cd890d25708c2a26ebe8d", "content_hash": "9c75f794c9843aa4c889d06bab783edffd2a035a544460b86c4fb1aeacc4e596", "source_database": "center", "source_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701"}, "signature": "", "tables_zh": [], "description": ["\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002"], "manual_html": "", "manual_path": "/docs/19/storage-hot.html", "sections_zh": [], "localization": {"status": "complete", "sources": [{"url": "/docs/19/storage-hot.html", "method": "same-major semantic node", "sha256": "6e6a83932c9dc5f56b2ba4d9937d08a41df41fe091a9ba8f4d85ebeec8b20cb7", "language": "zh", "matched_nodes": ["#STORAGE-HOT/div[3]/ul[0]/li[0]", "#STORAGE-HOT/div[3]/ul[0]/li[1]", "#STORAGE-HOT/div[5]/ul[0]/li[0]", "#STORAGE-HOT/div[5]/ul[0]/li[1]", "#STORAGE-HOT/p[1]", "#STORAGE-HOT/p[4]", "#STORAGE-HOT/p[6]"]}], "language": "zh", "original_text": {"/versions/19/description/0": "To allow for high concurrency, PostgreSQL uses multiversion concurrency control ( MVCC ) to store rows. However, MVCC has some downsides for update queries. Specifically, updates require new versions of rows to be added to tables. This can also require new index entries for each updated row, and removal of old versions of rows and their index entries can be expensive.", "/versions/19/facts/0/label": "Definition scope", "/versions/19/facts/0/value": "Same-version core physical storage documentation", "/versions/19/related/1/label": "Storage Parameters"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "d248436ceb9a943a45171139eb92b2e1f64bcb5ec3bed478c539ccae4d10bd67", "canonical_center_text_hash": "9c75f794c9843aa4c889d06bab783edffd2a035a544460b86c4fb1aeacc4e596"}, "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "comparison_data": {"layouts": []}, "comparison_hash": "27341929154bfb55531f03501322b65af719c5561f3c4ddc9528a14aa4df69b5", "manual_language": "zh", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/19/mvcc-intro.html\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/19/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/19/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/19/storage-hot.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": "entity membership and source-derived facts; presentation markup normalized", "source_revision": "af105fc8e960fc836a09fc2cd7f582b49fd17675d9d36631abe3a565bfd7d701", "previous_source_revision": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}}, "20": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "related": [{"url": "/wiki/tableam/?v=20", "label": "Table AM"}, {"url": "/wiki/relopts/?v=20", "label": "\u5b58\u50a8\u53c2\u6570"}], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "sources": [{"url": "/docs/devel/storage-hot.html", "path": "storage-hot.html", "label": "PostgreSQL 20 English manual", "sha256": "491e41db56782b64f886671d520a43925aa5e471c3f71108f2382f8017968b91"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/devel/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "20", "build_id": 111, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "4e84a25381b60a8f2b02999122eaf3e8905e51b5fe613c7ed20144cbad982d48", "fragment_sha256": "88049a2526ba5bc8e749ccc919c4f209438e68706a9e97b06067352d32f7bbfa", "source_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:98c980963b401d40bd50df72b909e7523e3148b8fdb48edd897de2efb67e5235", "translated_from_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "body_sha256": "3e64e369eff676302e8f95f21531701b4fd2f6f41e399725a0ae4c6f7bcc9081", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "facts_zh": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "sections": [], "center_zh": {"title": "Heap-Only Tuples ( HOT )", "locale": "zh-Hans", "source": {"key": "storage-hot", "locale": "zh-Hans", "version": "20", "text_hash": "7959acdc012cc43e1d35570ae73ccb70feb7d3e6634af5534d47986548b8e369", "collection": "storage", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "payload": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/devel/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "20", "build_id": 111, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "4e84a25381b60a8f2b02999122eaf3e8905e51b5fe613c7ed20144cbad982d48", "fragment_sha256": "88049a2526ba5bc8e749ccc919c4f209438e68706a9e97b06067352d32f7bbfa", "source_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:98c980963b401d40bd50df72b909e7523e3148b8fdb48edd897de2efb67e5235", "translated_from_revision": "sha256:49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "body_sha256": "3e64e369eff676302e8f95f21531701b4fd2f6f41e399725a0ae4c6f7bcc9081", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "sections": [], "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span class=\"productname\">PostgreSQL</span> \u4f7f\u7528<a class=\"link\" href=\"/zh/docs/devel/mvcc-intro.html\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym class=\"acronym\">MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym class=\"acronym\">MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span class=\"productname\">PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym class=\"acronym\">HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a class=\"link\" href=\"/zh/docs/devel/sql-createtable.html#RELOPTION-FILLFACTOR\"><code class=\"literal\">fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a class=\"link\" href=\"/zh/docs/devel/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/devel/storage-hot.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "version": "20", "link_map": {"/zh/docs/devel/mvcc-intro.html": "/docs/devel/mvcc-intro.html", "/zh/docs/devel/storage-hot.html": "/docs/devel/storage-hot.html", "/zh/docs/devel/sql-createtable.html#RELOPTION-FILLFACTOR": "/docs/devel/sql-createtable.html#RELOPTION-FILLFACTOR", "/zh/docs/devel/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW": "/docs/devel/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW"}, "body_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/devel/mvcc-intro.html\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/devel/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/devel/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/devel/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "f4364d744eeb922ae372976d2c85e8486d13e8b0d2e603d3c751b70e40041720", "content_hash": "7959acdc012cc43e1d35570ae73ccb70feb7d3e6634af5534d47986548b8e369", "source_database": "center", "source_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac"}, "signature": "", "tables_zh": [], "description": ["\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002"], "manual_html": "", "manual_path": "/docs/devel/storage-hot.html", "sections_zh": [], "localization": {"status": "complete", "sources": [{"url": "/docs/devel/storage-hot.html", "method": "same-major semantic node", "sha256": "435e0c3226a7ee42812762e032889a8ab94b9753707ef4c8db4e2f53efc663f8", "language": "zh", "matched_nodes": ["#STORAGE-HOT/div[3]/ul[0]/li[0]", "#STORAGE-HOT/div[3]/ul[0]/li[1]", "#STORAGE-HOT/div[5]/ul[0]/li[0]", "#STORAGE-HOT/div[5]/ul[0]/li[1]", "#STORAGE-HOT/p[1]", "#STORAGE-HOT/p[4]", "#STORAGE-HOT/p[6]"]}], "language": "zh", "original_text": {"/summary": "To allow for high concurrency, PostgreSQL uses multiversion concurrency control ( MVCC ) to store rows. However, MVCC has some downsides for update queries. Specifically, updates require new versions of rows to be added to tables. This can also require new index entries for each updated row, and removal of old versions of rows and their index entries can be expensive.", "/category": "Physical structures", "/versions/20/description/0": "To allow for high concurrency, PostgreSQL uses multiversion concurrency control ( MVCC ) to store rows. However, MVCC has some downsides for update queries. Specifically, updates require new versions of rows to be added to tables. This can also require new index entries for each updated row, and removal of old versions of rows and their index entries can be expensive.", "/versions/20/facts/0/label": "Definition scope", "/versions/20/facts/0/value": "Same-version core physical storage documentation", "/versions/20/related/1/label": "Storage Parameters"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "57f41448e4b72e4661c870fcb3a045009306f79d36b7762e089af8d20b4530c2", "canonical_center_text_hash": "7959acdc012cc43e1d35570ae73ccb70feb7d3e6634af5534d47986548b8e369"}, "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "comparison_data": {"layouts": []}, "comparison_hash": "27341929154bfb55531f03501322b65af719c5561f3c4ddc9528a14aa4df69b5", "manual_language": "zh", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/devel/mvcc-intro.html\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/devel/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/devel/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/devel/storage-hot.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": "entity membership and source-derived facts; presentation markup normalized", "source_revision": "49c73aa4c9cacef8ca979276a28ac416c08e9e54c9baee4ae5fd116a35fa13ac", "previous_source_revision": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}}}}, "snapshot": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "related": [{"url": "/wiki/tableam/?v=18", "label": "Table AM"}, {"url": "/wiki/relopts/?v=18", "label": "\u5b58\u50a8\u53c2\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/storage-hot.html", "path": "storage-hot.html", "label": "PostgreSQL 18 English manual", "sha256": "10b16ef2342681e7c41be6a1bc1e3ea1cb3ba9f592be29dcc941fba269713bfa"}], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/18/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "f5bf1f6d5a1e756423924a704ecc86d3bf3d694f4438807bfd7cbb94d62730c2", "fragment_sha256": "55a9ed3b1f8b94ee538608420299606b3d10c5953ad95040bdfd5ca021ffe3d8", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "50b4ecc0d6fcf53d9593ecd45ff72ab0839454f21c8ea33929ef3578406bb044", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "facts_zh": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "sections": [], "center_zh": {"title": "Heap-Only Tuples ( HOT )", "locale": "zh-Hans", "source": {"key": "storage-hot", "locale": "zh-Hans", "version": "18", "text_hash": "0129949e93cb50dd0e269c46cfa608726e73082a8e7d96a6e5a8701f509af1b6", "collection": "storage", "dataset_hash": "7c31b524dfe136022d39a6ae8dcfac6b3bbd5f8fdaf422536599981252aff0c9", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "payload": {"facts": [{"label": "\u5b9a\u4e49\u8303\u56f4", "value": "\u540c\u7248\u672c\u6838\u5fc3\u7269\u7406\u5b58\u50a8\u6587\u6863"}], "tables": [], "zh_from": {"kind": "same-version-chinese-manual-with-source-derived-identity", "manual": {"url": "/zh/docs/18/storage-hot.html", "anchor": "", "locale": "zh-Hans", "version": "18", "build_id": 107, "page_key": "storage-hot.html", "extraction": "concept-introduction", "source_hash": "f5bf1f6d5a1e756423924a704ecc86d3bf3d694f4438807bfd7cbb94d62730c2", "fragment_sha256": "55a9ed3b1f8b94ee538608420299606b3d10c5953ad95040bdfd5ca021ffe3d8", "source_revision": "unknown:rendered-translation-baseline", "translation_revision": "git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b", "translated_from_revision": null}, "body_sha256": "50b4ecc0d6fcf53d9593ecd45ff72ab0839454f21c8ea33929ef3578406bb044", "runtime_rerun": false, "authored_translation": "source-derived-identity", "source_facts_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sections": [], "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span class=\"productname\">PostgreSQL</span> \u4f7f\u7528<a class=\"link\" href=\"/zh/docs/18/mvcc-intro.html\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym class=\"acronym\">MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym class=\"acronym\">MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span class=\"productname\">PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym class=\"acronym\">HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a class=\"link\" href=\"/zh/docs/18/sql-createtable.html#RELOPTION-FILLFACTOR\"><code class=\"literal\">fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym class=\"acronym\">HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a class=\"link\" href=\"/zh/docs/18/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/18/storage-hot.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "summary": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "version": "18", "link_map": {"/zh/docs/18/mvcc-intro.html": "/docs/18/mvcc-intro.html", "/zh/docs/18/storage-hot.html": "/docs/18/storage-hot.html", "/zh/docs/18/sql-createtable.html#RELOPTION-FILLFACTOR": "/docs/18/sql-createtable.html#RELOPTION-FILLFACTOR", "/zh/docs/18/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW": "/docs/18/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW"}, "body_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/18/mvcc-intro.html\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/18/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/18/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/18/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "body_sha256": "566b93f449f75da4c8f07520a3646deeeef892462b5549f8309017e17dcf8a84", "content_hash": "0129949e93cb50dd0e269c46cfa608726e73082a8e7d96a6e5a8701f509af1b6", "source_database": "center", "source_revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "signature": "", "tables_zh": [], "description": ["\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002"], "manual_html": "", "manual_path": "/docs/18/storage-hot.html", "sections_zh": [], "localization": {"status": "complete", "sources": [{"url": "/docs/18/storage-hot.html", "method": "same-major semantic node", "sha256": "d2f65aa889fefb8a17675ec3a2f25d5ef8b7d49a8592b484986f7512a878630e", "language": "zh", "matched_nodes": ["#STORAGE-HOT/div[3]/ul[0]/li[0]", "#STORAGE-HOT/div[3]/ul[0]/li[1]", "#STORAGE-HOT/div[5]/ul[0]/li[0]", "#STORAGE-HOT/div[5]/ul[0]/li[1]", "#STORAGE-HOT/p[1]", "#STORAGE-HOT/p[4]", "#STORAGE-HOT/p[6]"]}], "language": "zh", "original_text": {"/versions/18/description/0": "To allow for high concurrency, PostgreSQL uses multiversion concurrency control ( MVCC ) to store rows. However, MVCC has some downsides for update queries. Specifically, updates require new versions of rows to be added to tables. This can also require new index entries for each updated row, and removal of old versions of rows and their index entries can be expensive.", "/versions/18/facts/0/label": "Definition scope", "/versions/18/facts/0/value": "Same-version core physical storage documentation", "/versions/18/related/1/label": "Storage Parameters"}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "e5e38c7807fb239df9941c0b0566be2a1ace94e75fe2be8fa7a56172282063b8", "canonical_center_text_hash": "0129949e93cb50dd0e269c46cfa608726e73082a8e7d96a6e5a8701f509af1b6"}, "description_zh": "\u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c PostgreSQL \u4f7f\u7528 \u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236 \uff08 MVCC \uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c MVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002 \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c PostgreSQL \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08 HOT \uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684 fillfactor \u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c HOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe pg_stat_all_tables \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002", "comparison_data": {"layouts": []}, "comparison_hash": "27341929154bfb55531f03501322b65af719c5561f3c4ddc9528a14aa4df69b5", "manual_language": "zh", "description_zh_html": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/zh/docs/18/mvcc-intro.html\" rel=\"nofollow\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08<acronym>MVCC</acronym>\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0c<acronym>MVCC</acronym> \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08<acronym>HOT</acronym>\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c <acronym>HOT</acronym> \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/zh/docs/18/sql-createtable.html#RELOPTION-FILLFACTOR\" rel=\"nofollow\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0c<acronym>HOT</acronym> \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/zh/docs/18/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\" rel=\"nofollow\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/zh/docs/18/storage-hot.html\" rel=\"nofollow\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>", "center_zh_rendered": "<p>\u5b58\u50a8\u7ed3\u6784 storage-hot\u3002</p><h3>\u540c\u7248\u672c\u4e2d\u6587\u624b\u518c\u8282\u9009</h3><p>\n  \u4e3a\u4e86\u652f\u6301\u9ad8\u5e76\u53d1\uff0c<span>PostgreSQL</span> \u4f7f\u7528<a href=\"/docs/18/mvcc-intro.html\">\u591a\u7248\u672c\u5e76\u53d1\u63a7\u5236</a>\uff08MVCC\uff09\u6765\u5b58\u50a8\u884c\u3002\u4e0d\u8fc7\uff0cMVCC \u5bf9\u66f4\u65b0\u67e5\u8be2\u4e5f\u6709\u4e00\u4e9b\u7f3a\u70b9\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u66f4\u65b0\u9700\u8981\u5411\u8868\u4e2d\u52a0\u5165\u65b0\u7684\u884c\u7248\u672c\u3002\u8fd9\u8fd8\u53ef\u80fd\u8981\u6c42\u4e3a\u6bcf\u4e2a\u88ab\u66f4\u65b0\u7684\u884c\u65b0\u589e\u7d22\u5f15\u6761\u76ee\uff0c\u800c\u79fb\u9664\u65e7\u7684\u884c\u7248\u672c\u53ca\u5176\u7d22\u5f15\u6761\u76ee\u53ef\u80fd\u4ee3\u4ef7\u5f88\u9ad8\u3002\n </p><p>\n  \u4e3a\u4e86\u5e2e\u52a9\u964d\u4f4e\u66f4\u65b0\u7684\u5f00\u9500\uff0c<span>PostgreSQL</span> \u63d0\u4f9b\u4e86\u4e00\u79cd\u540d\u4e3a\u5806\u5185\u5143\u7ec4\uff08HOT\uff09\u7684\u4f18\u5316\u3002\u8be5\u4f18\u5316\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u53ef\u884c\uff1a\n\n  </p><p>\n\n  \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5806\u5185\u5143\u7ec4\u63d0\u4f9b\u4e24\u9879\u4f18\u5316\uff1a\n\n  </p><p>\n  \u8981\u63d0\u9ad8\u9875\u9762\u62e5\u6709\u8db3\u591f\u7a7a\u95f4\u8fdb\u884c HOT \u66f4\u65b0\u7684\u53ef\u80fd\u6027\uff0c\u4f60\u53ef\u4ee5\u964d\u4f4e\u8868\u7684\n  <a href=\"/docs/18/sql-createtable.html#RELOPTION-FILLFACTOR\"><code>fillfactor</code></a>\u3002\u5373\u4f7f\u4e0d\u8fd9\u6837\u505a\uff0cHOT \u66f4\u65b0\u4e5f\u4ecd\u7136\u4f1a\u53d1\u751f\uff0c\u56e0\u4e3a\u65b0\u884c\u4f1a\u81ea\u7136\u8fc1\u79fb\u5230\u65b0\u9875\u9762\uff0c\u800c\u90a3\u4e9b\u5177\u6709\u8db3\u591f\u7a7a\u95f2\u7a7a\u95f4\u5bb9\u7eb3\u65b0\u884c\u7248\u672c\u7684\u73b0\u6709\u9875\u9762\u4e5f\u4f1a\u88ab\u5229\u7528\u3002\u7cfb\u7edf\u89c6\u56fe\n  <a href=\"/docs/18/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW\">pg_stat_all_tables</a>\n  \u53ef\u4ee5\u7528\u6765\u76d1\u63a7 HOT \u66f4\u65b0\u548c\u975e HOT \u66f4\u65b0\u7684\u53d1\u751f\u60c5\u51b5\u3002\n </p><p><a href=\"/docs/18/storage-hot.html\">\u67e5\u770b\u5b8c\u6574\u4e2d\u6587\u624b\u518c\u4e0e\u4e0a\u4e0b\u6587</a>\u3002</p>"}, "comparison": {"left": "17", "right": "18", "status": "unchanged", "diff": ""}}