Medium-HardAnalyzeDatabase Designopen_ended

A PostgreSQL table has 10 million rows. A query SELECT * FROM orders WHERE status = 'pending' runs a sequential scan despite an index on status. Why?

Analyze Tests ability to break down and examine complex problems.

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 21+ more Database Design questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Database Design topic (System Design).

More Database Design Questions