# Index Overhead

> Why shouldn't you add an index on every column of a table? What does each index cost?

Canonical: https://www.internhack.in/learn/interview/database-design/db-indexing-overhead
Last updated: 2026-11-28

Difficulty: Beginner

## Question

Why shouldn't you add an index on every column of a table? What does each index cost?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

Index Maintenance, Write Amplification, HOT Updates, Unused Indexes, Query Planner

Previous: [Soft Delete](https://www.internhack.in/learn/interview/database-design/db-soft-delete-pattern) · Next: [Unique Constraints](https://www.internhack.in/learn/interview/database-design/db-unique-constraint-vs-index) · [All of Database Design](https://www.internhack.in/learn/interview/database-design)

## More Database Design questions

- [Database Triggers](https://www.internhack.in/learn/interview/database-design/db-trigger-use-cases)
- [Horizontal vs Vertical Partitioning](https://www.internhack.in/learn/interview/database-design/db-partitioning-horizontal-vs-vertical)
- [UUID as Primary Key](https://www.internhack.in/learn/interview/database-design/db-uuid-vs-int-primary-key)
- [Fan-out Problem](https://www.internhack.in/learn/interview/database-design/db-fan-out-problem)
- [Write-Ahead Logging (WAL)](https://www.internhack.in/learn/interview/database-design/db-write-ahead-logging-wal)
- [Read Replicas vs. Caching](https://www.internhack.in/learn/interview/database-design/db-read-replicas-vs-caching)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Database Design](https://www.internhack.in/learn/interview/database-design)
