The maximum time, in seconds per day, that the index advisor spends running automated analyses of its tracked queries.
google_db_advisor.auto_advisor_schedule
Type
String
Default
'EVERY 24 HOURS'
Restart required
No
Defines the frequency of the index advisor's automated analysis. The value is a single-quoted string of the format 'EVERY NUNITS', where N is an integer, and UNITS is either HOURS or DAYS.
google_db_advisor.enable_auto_advisor
Type
Boolean
Default
on
Restart required
No
If on, then AlloyDB runs the index advisor's analysis on an automated schedule, with a frequency set by the separate google_db_advisor.auto_advisor_schedule flag.
The maximum time, in seconds, that the index advisor spends running an analysis of its tracked queries.
google_db_advisor.top_k_slowest_statements
Type
Integer
Default
100
Restart required
No
The index advisor bases its recommendations on the slowest-executing statements out of all the queries it tracks. The value set by this flag defines the size of this set.
If set to 2147483647 (the maximum allowed value), then AlloyDB recommends indexes based on all captured statements, instead of on a limited number of statements.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-24 UTC."],[],[]]