Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menjelaskan penasihat indeks AlloyDB untuk PostgreSQL.
AlloyDB menawarkan penasihat indeks terkelola sepenuhnya yang melacak kueri yang ditangani database Anda secara rutin. Secara berkala, penasihat indeks
akan menganalisis kueri ini untuk merekomendasikan indeks baru yang dapat meningkatkan performa
kueri. Dengan mengaktifkan index advisor, Anda dapat mendeteksi potensi masalah performa pada kueri dan mendapatkan rekomendasi untuk pengoptimalan indeks.
Bagaimana cara kerja penasihat indeks?
Penasihat indeks AlloyDB membantu Anda meningkatkan pemrosesan kueri dengan
melakukan hal berikut:
Membantu Anda mengidentifikasi serangkaian indeks.
Memberikan detail untuk membantu Anda membuat indeks yang direkomendasikan, misalnya,
estimasi ukuran penyimpanan dan dampak indeks pada kueri.
Anda juga dapat menggunakan konsultan indeks dengan
Query Insights.
Penasihat indeks menyimpan dan menampilkan perintah CREATE INDEX yang berisi
nama database, nama skema, nama tabel, dan nama kolom. Kueri yang dilacak
adalah semua kueri yang dinormalisasi dengan semua literal dihapus.
Rekomendasi indeks dienkripsi saat dalam penyimpanan.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-25 UTC."],[[["\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)."]]