Skip to content
Preptima
hardScenarioConceptMidSeniorStaff

This table has fourteen indexes and writes have got slower. How do you work out which ones to drop?

6 min readUpdated 2026-08-15Target archetype: Big Tech, Enterprise Captive, Product Startup

Answer

Short answer

Decide from evidence, not intuition: per-index scan counts read against the date the statistics were reset, redundancy judged by leading columns, and the constraints and foreign keys that need an index whether or not anything ever scans them.

Was this answer helpful?

Likely follow-ups

  • Adding an index on a column the application updates constantly costs more than maintaining that one index. Why?
  • How would you find which queries a particular index is serving before you remove it?
  • Read replicas take most of the traffic. What does that do to the usage numbers you read on the primary?
  • You drop it, and one endpoint gets slower. How do you put it back without a window where no index exists?

Related questions

Further reading