Skip to content
Sharp

SQL for Java Devs · interview question

Why does adding an index on a column in terms of write performance matter in practice?

Multiple choiceHardchapter-8-curatedpremiumsql-for-java-devsindexes
Choose one answer
Answer and explanation

Correct answer

B. It decreases write performance due to additional maintenance overhead.

Why

Adding an index requires additional maintenance when data is modified (inserts, updates, deletes), which decreases write performance. The database must update the index whenever the indexed column is modified.

Test yourself on SQL for Java Devs

A free test with instant, explained results. No account needed.

Start free test
All SQL for Java Devs questions →