{"Entry":{"collection":"func","key":"pg-restore-extended-stats","name":"pg_restore_extended_stats","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"18","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"19"}],"content_hash":"7df64841de175b5cc5301701a614888529697de12e39dfefd546647d7538c3fc","first_version":"19","group":"admin","group_label":"System Administration Functions","groups":["admin"],"imported_at":"2026-09-27T17:57:29.652514+08:00","last_version":"20","name":"pg_restore_extended_stats","name_key":"pg_restore_extended_stats","position":29093,"present_in":["19","20"],"signature":"pg_restore_extended_stats ( VARIADIC kwargs \"any\" ) → boolean","signature_count":1,"slug":"pg-restore-extended-stats","source_rev":"b7bd9cda","summary":"Creates or updates statistics for statistics objects.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-restore-extended-stats","SourceDatabase":"center","Version":"20","SourceTable":"func","SourceKey":"pg-restore-extended-stats","SourceRevision":"b7bd9cda","Facts":{"description":"Creates or updates statistics for statistics objects. 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 statistics for statistics objects. Ordinarily, these statistics are collected automatically or updated as a part of \u003ca href=\"/docs/devel/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"/docs/devel/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":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-ADMIN-STATSMOD","file":"functions-admin.html","slug":"devel"},"group":"admin","group_label":"System Administration Functions","lang":"en","layout":"table-new","pages":["functions-admin.html"],"prose_only":false,"signatures":[{"description":"Creates or updates statistics for statistics objects. 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 statistics for statistics objects. Ordinarily, these statistics are collected automatically or updated as a part of \u003ca href=\"/docs/devel/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"/docs/devel/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":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_restore_extended_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_extended_stats ( VARIADIC kwargs \"any\" ) → boolean","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-ADMIN-STATSMOD","file":"functions-admin.html","slug":"devel"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-restore-extended-stats","SourceDatabase":"pgweb","Version":"20","Locale":"zh-Hans","Title":"pg_restore_extended_stats","Summary":"创建或更新统计对象的统计信息。通常这些统计会自动收集，或者作为VACUUM或ANALYZE的一部分更新，因此通常不必调用此函数。不过，如果恢复后ANALYZE还没有运行，它可帮助优化器选择更好的计划。","BodyHTML":"创建或更新统计对象的统计信息。通常这些统计会自动收集，或者作为\u003ca href=\"/docs/devel/sql-vacuum.html\" title=\"VACUUM\" rel=\"nofollow\"\u003e\u003cspan\u003eVACUUM\u003c/span\u003e\u003c/a\u003e或\u003ca href=\"/docs/devel/sql-analyze.html\" title=\"ANALYZE\" rel=\"nofollow\"\u003e\u003cspan\u003eANALYZE\u003c/span\u003e\u003c/a\u003e的一部分更新，因此通常不必调用此函数。不过，如果恢复后\u003ccode\u003eANALYZE\u003c/code\u003e还没有运行，它可帮助优化器选择更好的计划。\u003cpre\u003epg_restore_extended_stats ( VARIADIC kwargs \u0026#34;any\u0026#34; ) → boolean\u003c/pre\u003e创建或更新统计对象的统计信息。通常这些统计会自动收集，或者作为\u003ca href=\"/docs/devel/sql-vacuum.html\" title=\"VACUUM\" rel=\"nofollow\"\u003e\u003cspan\u003eVACUUM\u003c/span\u003e\u003c/a\u003e或\u003ca href=\"/docs/devel/sql-analyze.html\" title=\"ANALYZE\" rel=\"nofollow\"\u003e\u003cspan\u003eANALYZE\u003c/span\u003e\u003c/a\u003e的一部分更新，因此通常不必调用此函数。不过，如果恢复后\u003ccode\u003eANALYZE\u003c/code\u003e还没有运行，它可帮助优化器选择更好的计划。","SourceRevision":"ca936764","ContentHash":"5041e5bc28b437738baa11d217e566331eec342a4fa1b3a445702cf391c5e0c8","Payload":{"description_zh":"创建或更新统计对象的统计信息。通常这些统计会自动收集，或者作为VACUUM或ANALYZE的一部分更新，因此通常不必调用此函数。不过，如果恢复后ANALYZE还没有运行，它可帮助优化器选择更好的计划。","description_zh_html":"创建或更新统计对象的统计信息。通常这些统计会自动收集，或者作为\u003ca href=\"/docs/devel/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e或\u003ca href=\"/docs/devel/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e的一部分更新，因此通常不必调用此函数。不过，如果恢复后\u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e还没有运行，它可帮助优化器选择更好的计划。","signatures":[{"description_zh":"创建或更新统计对象的统计信息。通常这些统计会自动收集，或者作为VACUUM或ANALYZE的一部分更新，因此通常不必调用此函数。不过，如果恢复后ANALYZE还没有运行，它可帮助优化器选择更好的计划。","description_zh_html":"创建或更新统计对象的统计信息。通常这些统计会自动收集，或者作为\u003ca href=\"/docs/devel/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e或\u003ca href=\"/docs/devel/sql-analyze.html\" title=\"ANALYZE\"\u003e\u003cspan class=\"refentrytitle\"\u003eANALYZE\u003c/span\u003e\u003c/a\u003e的一部分更新，因此通常不必调用此函数。不过，如果恢复后\u003ccode class=\"command\"\u003eANALYZE\u003c/code\u003e还没有运行，它可帮助优化器选择更好的计划。","returns":"boolean","text":"pg_restore_extended_stats ( VARIADIC kwargs \"any\" ) → boolean","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"20","Ordinal":0,"Hash":"bc59ea7f7004a27a74a55f6373433c76b6eaccadd23f46eea71b42d83bc3bc2a","Text":"pg_restore_extended_stats ( VARIADIC kwargs \"any\" ) → boolean","Returns":"boolean","Payload":{"description":"Creates or updates statistics for statistics objects. 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 statistics for statistics objects. Ordinarily, these statistics are collected automatically or updated as a part of \u003ca href=\"/docs/devel/sql-vacuum.html\" title=\"VACUUM\"\u003e\u003cspan class=\"refentrytitle\"\u003eVACUUM\u003c/span\u003e\u003c/a\u003e or \u003ca href=\"/docs/devel/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":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_restore_extended_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_extended_stats ( VARIADIC kwargs \"any\" ) → boolean","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
