← Files Aivana Database EngineerARCHIVED FILE

skills/index-portfolio-optimizer/SKILL.md

492 Bytes · Oct 5, 2026 · 18:34 UTC

↓ Download file

---
name: index-portfolio-optimizer
description: Optimize the whole index portfolio by finding redundant, overlapping, unused, and high-write-cost indexes.
---

# Index Portfolio Optimizer

Run:

```bash
node runtime/runTool.js index_portfolio_optimizer '{"indexes":[{"name":"ix_a","columns":["status"],"reads":100,"writes":50},{"name":"ix_ab","columns":["status","created_at"],"reads":200,"writes":60}]}'
```

Returns redundant indexes, drop candidates, create candidates, and action order.

SHA-256: ee5147fe134087cecd5cf7343518a75c99235de25071190b59d083b4ffc214e9