propose_index
Generate candidate indexes for a query and cost-simulate them with HypoPG using pg_stats values. Provides simulated evidence for potential index impact, not a final recommendation.
Instructions
Generate candidate indexes for a query and cost-simulate them with HypoPG hypothetical indexes, using parameter values grounded from pg_stats (typical + worst case, and the selective case for range predicates).
THIS IS NOT A RECOMMENDATION. evidence_level is 'simulated': planner estimates only — write amplification, regressions on other queries, and real timings are unknown here. Only verify_index (M3) measures on real data and produces an accept/reject verdict. Do not present these candidates to the user as advice to apply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | No | ||
| profile | Yes | ||
| queryid | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||