Find redundant indexes (SIXTA)
sixta_review_indexesFind duplicate and redundant indexes you can drop — no connection needed. Paste schema DDL (SHOW CREATE TABLE output, a mysqldump --no-data, or a pg_dump --schema-only) and get: exact-duplicate indexes, prefix-redundant indexes (an index on (a) already covered by (a,b)), and secondary indexes that just re-state the primary key — each with the exact DROP statement and the write-amplification it costs. Use when the user pastes CREATE TABLE / schema or asks 'do I have redundant or duplicate indexes'. Input is analyzed in memory and never stored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ddl | Yes | Schema DDL — SHOW CREATE TABLE output, mysqldump --no-data, or pg_dump --schema-only (one or many tables) | |
| engine | No | Database engine: postgresql or mysql. Optional — sets the DROP syntax. | |
| version | No | Engine version, e.g. '16' (PostgreSQL major) or '8.0.35' (MySQL). Omit for a modern default; some verdicts are version-dependent and the assumption is stated in the result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | No | Engine the analysis targeted, when known. | |
| report | Yes | The full human-readable SIXTA report (markdown). | |
| findings | No | Named findings as structured data, when the tool produces them. | |
| finding_count | No | Number of findings/issues identified. | |
| overall_severity | No | Highest severity across findings (Critical/High/Medium/Low/Info). |