{"Entry":{"collection":"func","key":"pg-restore-attribute-stats","name":"pg_restore_attribute_stats","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"17","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"18"}],"content_hash":"bee5f48263361b953a14a52b2b3caa8dcecb731cf88adf94e8a9f4e1ded81eee","derived_content_hash":"38e56d510aba09d4f1d7214dfb2b8c1c87f42cbf263fdf6182a086d499bcf75f","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:327de5e16c910e2923a8f9a09c6be5101fd9a3e70bb02d287c79b8c459f7424d","versions":{"18":"18.7","19":"19rc2"}},"first_version":"18","group":"admin","group_label":"System Administration Functions","groups":["admin"],"imported_at":"2026-09-27T17:57:29.65091+08:00","last_version":"20","name":"pg_restore_attribute_stats","name_key":"pg_restore_attribute_stats","position":29092,"present_in":["18","19","20"],"repair_provenance":{"original_source_revision":"b7bd9cda","receipt_sha256":"9872aec0c6daaed9d4958d5d43885b6171328bde339e439ecdbed17c5c7044c2","repair":"wiki-repair-20261023"},"signature":"pg_restore_attribute_stats ( VARIADIC kwargs \"any\" ) → boolean","signature_count":1,"slug":"pg-restore-attribute-stats","source_rev":"wiki-repair-20261023:327de5e16c910e2923a8f9a09c6be5101fd9a3e70bb02d287c79b8c459f7424d","summary":"Creates or updates column-level statistics.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-restore-attribute-stats","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-restore-attribute-stats","SourceRevision":"wiki-repair-20261023:327de5e16c910e2923a8f9a09c6be5101fd9a3e70bb02d287c79b8c459f7424d","Facts":{"description":"Creates or updates column-level statistics. Ordinarily, these statistics are collected automatically or updated as a part of VACUUM or ANALYZE, so it's not necessary to call this function. However, it is useful after a restore to enable the optimizer to choose better plans if ANALYZE has not been run yet.","description_html":"Creates or updates column-level statistics. Ordinarily, these statistics are collected automatically or updated as a part of \u003ca href=\"/docs/18/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"/docs/18/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e, so it's not necessary to call this function. However, it is useful after a restore to enable the optimizer to choose better plans if \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e has not been run yet.","description_zh":"创建或更新列级统计信息。通常这些统计信息会自动收集或作为 VACUUM 或 ANALYZE 的一部分更新，因此不必调用此函数。但它在恢复后很有用，可以在尚未运行 ANALYZE 时帮助优化器选择更好的计划。","description_zh_html":"创建或更新列级统计信息。通常这些统计信息会自动收集或作为 \u003ca href=\"/docs/18/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e 或 \u003ca href=\"/docs/18/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e 的一部分更新，因此不必调用此函数。但它在恢复后很有用，可以在尚未运行 \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e 时帮助优化器选择更好的计划。","doc":{"anchor":"FUNCTIONS-ADMIN-STATSMOD","file":"functions-admin.html","sha256":"885561d57facd49c33b44a50e320a002197d700d118784cc87d6410efadbd1f6","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-admin.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"885561d57facd49c33b44a50e320a002197d700d118784cc87d6410efadbd1f6","version":"18.7"},{"file":"functions-admin.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"830e894d29fec30b7c350c915fcaed4a63b24d57f2c96150bf25fa07fb43849c","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"admin","group_label":"系统管理函数","lang":"en","layout":"table-new","pages":["functions-admin.html"],"prose_only":false,"signatures":[{"description":"Creates or updates column-level statistics. Ordinarily, these statistics are collected automatically or updated as a part of VACUUM or ANALYZE, so it's not necessary to call this function. However, it is useful after a restore to enable the optimizer to choose better plans if ANALYZE has not been run yet.","description_html":"Creates or updates column-level statistics. Ordinarily, these statistics are collected automatically or updated as a part of \u003ca href=\"/docs/18/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"/docs/18/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e, so it's not necessary to call this function. However, it is useful after a restore to enable the optimizer to choose better plans if \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e has not been run yet.","description_zh":"创建或更新列级统计信息。通常这些统计信息会自动收集或作为 VACUUM 或 ANALYZE 的一部分更新，因此不必调用此函数。但它在恢复后很有用，可以在尚未运行 ANALYZE 时帮助优化器选择更好的计划。","description_zh_html":"创建或更新列级统计信息。通常这些统计信息会自动收集或作为 \u003ca href=\"/docs/18/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e 或 \u003ca href=\"/docs/18/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e 的一部分更新，因此不必调用此函数。但它在恢复后很有用，可以在尚未运行 \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e 时帮助优化器选择更好的计划。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_restore_attribute_stats\u003c/code\u003e ( \u003ccode class=\"literal\"\u003eVARIADIC\u003c/code\u003e \u003cem class=\"parameter\"\u003e\u003ccode\u003ekwargs\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003e\"any\"\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"pg_restore_attribute_stats ( VARIADIC kwargs \"any\" ) → boolean","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-admin.html","sha256":"b4fab9daceb7883fd75b32b6eb5398f2bbbfbbed5c83d1b2bf99cc8d842cdaf7"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-ADMIN-STATSMOD","file":"functions-admin.html","sha256":"885561d57facd49c33b44a50e320a002197d700d118784cc87d6410efadbd1f6","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-restore-attribute-stats","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_restore_attribute_stats","Summary":"Creates or updates column-level statistics. Ordinarily, these statistics are collected automatically or updated as a part of VACUUM or ANALYZE, so it's not necessary to call this function. However, it is useful after a restore to enable the optimizer to choose better plans if ANALYZE has not been run yet.","BodyHTML":"Creates or updates column-level statistics. Ordinarily, these statistics are collected automatically or updated as a part of \u003ca href=\"/docs/18/sql-vacuum.html\" title=\"VACUUM\" rel=\"nofollow\"\u003e\u003cspan\u003eVACUUM\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"/docs/18/sql-analyze.html\" title=\"ANALYZE\" rel=\"nofollow\"\u003e\u003cspan\u003eANALYZE\u003c/span\u003e\u003c/a\u003e, so it\u0026#39;s not necessary to call this function. However, it is useful after a restore to enable the optimizer to choose better plans if \u003ccode\u003eANALYZE\u003c/code\u003e has not been run yet.","SourceRevision":"wiki-repair-20261023:327de5e16c910e2923a8f9a09c6be5101fd9a3e70bb02d287c79b8c459f7424d","ContentHash":"e6b2fdc8b62c0acf92d638bbaaf979a45fcd011657bf08af1d7499bd2f1fe5f9","Payload":{"description":"Creates or updates column-level statistics. Ordinarily, these statistics are collected automatically or updated as a part of VACUUM or ANALYZE, so it's not necessary to call this function. However, it is useful after a restore to enable the optimizer to choose better plans if ANALYZE has not been run yet.","description_html":"Creates or updates column-level statistics. Ordinarily, these statistics are collected automatically or updated as a part of \u003ca href=\"/docs/18/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"/docs/18/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e, so it's not necessary to call this function. However, it is useful after a restore to enable the optimizer to choose better plans if \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e has not been run yet.","signatures":[{"description":"Creates or updates column-level statistics. Ordinarily, these statistics are collected automatically or updated as a part of VACUUM or ANALYZE, so it's not necessary to call this function. However, it is useful after a restore to enable the optimizer to choose better plans if ANALYZE has not been run yet.","description_html":"Creates or updates column-level statistics. Ordinarily, these statistics are collected automatically or updated as a part of \u003ca href=\"/docs/18/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"/docs/18/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e, so it's not necessary to call this function. However, it is useful after a restore to enable the optimizer to choose better plans if \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e has not been run yet.","description_zh":"创建或更新列级统计信息。通常这些统计信息会自动收集或作为 VACUUM 或 ANALYZE 的一部分更新，因此不必调用此函数。但它在恢复后很有用，可以在尚未运行 ANALYZE 时帮助优化器选择更好的计划。","description_zh_html":"创建或更新列级统计信息。通常这些统计信息会自动收集或作为 \u003ca href=\"/docs/18/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e 或 \u003ca href=\"/docs/18/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e 的一部分更新，因此不必调用此函数。但它在恢复后很有用，可以在尚未运行 \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e 时帮助优化器选择更好的计划。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_restore_attribute_stats\u003c/code\u003e ( \u003ccode class=\"literal\"\u003eVARIADIC\u003c/code\u003e \u003cem class=\"parameter\"\u003e\u003ccode\u003ekwargs\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003e\"any\"\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"pg_restore_attribute_stats ( VARIADIC kwargs \"any\" ) → boolean","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"16eb6834f83624e61edcf81779d54593695ac98c459b7242f62ae9134c623588","Text":"pg_restore_attribute_stats ( VARIADIC kwargs \"any\" ) → boolean","Returns":"boolean","Payload":{"description":"Creates or updates column-level statistics. Ordinarily, these statistics are collected automatically or updated as a part of VACUUM or ANALYZE, so it's not necessary to call this function. However, it is useful after a restore to enable the optimizer to choose better plans if ANALYZE has not been run yet.","description_html":"Creates or updates column-level statistics. Ordinarily, these statistics are collected automatically or updated as a part of \u003ca href=\"/docs/18/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"/docs/18/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e, so it's not necessary to call this function. However, it is useful after a restore to enable the optimizer to choose better plans if \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e has not been run yet.","description_zh":"创建或更新列级统计信息。通常这些统计信息会自动收集或作为 VACUUM 或 ANALYZE 的一部分更新，因此不必调用此函数。但它在恢复后很有用，可以在尚未运行 ANALYZE 时帮助优化器选择更好的计划。","description_zh_html":"创建或更新列级统计信息。通常这些统计信息会自动收集或作为 \u003ca href=\"/docs/18/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e 或 \u003ca href=\"/docs/18/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e 的一部分更新，因此不必调用此函数。但它在恢复后很有用，可以在尚未运行 \u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e 时帮助优化器选择更好的计划。","examples":[],"html":"\u003ccode class=\"function\"\u003epg_restore_attribute_stats\u003c/code\u003e ( \u003ccode class=\"literal\"\u003eVARIADIC\u003c/code\u003e \u003cem class=\"parameter\"\u003e\u003ccode\u003ekwargs\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003e\"any\"\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"pg_restore_attribute_stats ( VARIADIC kwargs \"any\" ) → boolean","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
