query_advisor
edb_query_advisor · Workload-based index and extended-statistics recommendations.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101953 | query_advisor | edb_query_advisor | 1.2.2 | ADMIN | Proprietary | Unknown |
Usage
Sources:
query_advisor samples workload predicates and planning errors to recommend useful indexes and multicolumn extended statistics without creating every candidate object first.
Enablement
The product package is named EDB Query Advisor, but the canonical extension and preload identity is query_advisor. Install version 1.2.2, preload it, restart, and create it:
Use query_advisor.sample_rate and query_advisor.exclude_schema_list to scope collection. Capacity parameters such as query_advisor.max_qual_entries require a restart.
Generate Recommendations
Index recommendations are costed against captured workload queries with hypothetical indexes. Statistics recommendations focus on two-column combinations and include weights and benefited query IDs.
Review Boundary
Collected data is held in memory and is lost at server restart. Recommendations are candidates, not automatic DDL: validate write amplification, storage, maintenance, redundant indexes, and production plan changes before executing the generated CREATE INDEX or CREATE STATISTICS command.