-
Database
Find and drop indexes my app never uses
Uses database statistics to find indexes with zero or near-zero reads and removes them to speed up writes.
Free Prompt
What This Does / How This Helps
Uses the database's own statistics to find indexes nobody reads and removes them, making every write cheaper. Indexes are not free. Every insert and update maintains every index on the table, and they eat RAM that could be caching useful data. AI assistants add indexes liberally, one per plausible column, and nobody goes back to check whether any query actually uses them. Write-heavy tables end up paying for five indexes to serve one. The prompt reads real usage stats, cross-checks against your actual queries so nothing important gets dropped, and writes a safe concurrent-drop migration with a clear keep/drop verdict per index.
Want to skip doing this by hand?
Fortivibe audits your app for all of the areas these prompts cover (and more).