analyze_workload_indexes
Identify slow queries from database workload using pg_stat_statements and suggest indexes to minimize execution time.
Instructions
Analyze database workload and recommend indexes. Uses pg_stat_statements to find slow queries and suggests indexes to improve them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topQueriesCount | No | Number of top queries to analyze (1-50) | |
| includeHypothetical | No | Test recommendations with hypothetical indexes (requires hypopg) |