Difficulty: Beginner
Why shouldn't you index every single column in a table?
Every index slows down WRITE operations (Insert/Update/Delete) because the database must update the index structure every time the data changes.
Performance, Write Speed
JavaScript is required for the interactive version of this page, including the code playground and progress tracking. Browse all InternHack tutorials.