SpinTheMic
Pro

Interview practice question

Index much larger than the table

Backend Engineering · Relational Databases · Experienced

You notice an index on a heavily updated table is several times larger than expected and queries using it are slower. What is happening and what do you do?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Index bloat from updates/deletes.
  • Dead entries not reclaimed.
  • REINDEX CONCURRENTLY.
  • Tune autovacuum, fillfactor.
  • Monitor bloat.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics