Query advisor
query_advisor_reportRecommend table design changes from query history: sort keys, shard keys, reference tables, indexes, missing statistics, and workload issues.
Instructions
Recommend table design changes from the whole query history: SORT KEY and SHARD KEY per table, REFERENCE table candidates, indexes and missing statistics, plus workload issues (huge results, SELECT *, failures).
Every distinct query in the history is EXPLAINed (compiled, not run) to see which columns it filters,
joins and groups on, weighted by how long those queries ran. Opens the Query History app on its Advisor tab.
The result includes ``browser_url``: post it as a clickable link right under the app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No |