[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-25。"],[[["\u003cp\u003eAlloyDB provides a managed index advisor that analyzes database queries to suggest new indexes for performance improvement.\u003c/p\u003e\n"],["\u003cp\u003eThe index advisor helps users identify and create indexes, providing details like estimated storage size and impact on queries.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCREATE INDEX\u003c/code\u003e command, including database, schema, table, and column names, is displayed for recommended indexes.\u003c/p\u003e\n"],["\u003cp\u003eThe index advisor is designed to work in conjunction with Query Insights, with all queries tracked after literals have been removed, and recommendations encrypted at rest.\u003c/p\u003e\n"]]],[],null,["# Index advisor overview\n\nThis page describes the AlloyDB for PostgreSQL index advisor.\n\nAlloyDB offers a fully managed index advisor that tracks the\nqueries your database regularly handles. Periodically, the index advisor\nanalyzes these queries to recommend new indexes that can improve query\nperformance. Enabling the index advisor lets you detect potential\nperformance issues with queries and get recommendations for\nindex optimization.\n\nHow does the index advisor work?\n--------------------------------\n\nThe AlloyDB index advisor helps you improve query processing by\ndoing the following:\n\n- Helping you identify a set of indexes.\n- Providing details to help you create recommended indexes, for example, estimated storage size and impact of indexes on a query.\n\nYou can also use the index advisor with\n[Query Insights](/alloydb/docs/query-insights-overview).\nThe index advisor stores and displays the `CREATE INDEX` command that contains the\ndatabase name, schema name, table name, and column names. The tracked queries\nare all normalized queries with all literals removed.\n\nIndex recommendations are encrypted at rest.\n\nFor more information about how to use the index advisor, see\n[Use index advisor](/alloydb/docs/use-index-advisor). For more information how\nto use it with query insights, see\n[Use index advisor with query insights](/alloydb/docs/use-index-advisor-with-query-insights)."]]