Skip to content
Medium Apply Database Scaling open_ended

A company has a users table with 200M rows. Queries by user_id are fast but queries by email are slow. What is the solution?

Apply — Tests ability to use knowledge in practical scenarios.

Want to see the correct answer?

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

See the Answer on Guru Sishya →

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

More Database Scaling Questions