/SqlIndexAdvisor
Designs optimal B-tree, GiST, or GIN composite indexes for heavy filter and sort queries while measuring write overhead and disk bloat.
186 commands · 3 subcategories
Designs optimal B-tree, GiST, or GIN composite indexes for heavy filter and sort queries while measuring write overhead and disk bloat.
Breaks down complex PostgreSQL query plans, flags hidden sequential scans, nested loop bottlenecks, buffer cache misses, and generates targeted index recommendations.
Generates expand-and-contract migration scripts (PostgreSQL/MySQL) for renaming columns, adding non-null columns, and splitting tables without table locks.
Parameterize and secure against injection an aggregation query — e.g. total revenue by region and month.
Write data-dictionary documentation for an e-commerce database schema — e.g. products, orders, customers and inventory tables.
Review and reduce the running cost of a production database cluster — e.g. a Postgres cluster serving a checkout system.