HardEvaluateDatabase Designopen_ended
You need to add a NOT NULL column to a 500-million-row table in production. How do you do it without downtime?
Evaluate — Tests ability to make judgments and justify decisions.
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
What does ACID stand for?
EasyWhich type of index is best for a query with a range condition like WHERE age BETWEEN 20 AND 30?
Medium-EasyThe left-prefix rule for composite indexes means a composite index on (a, b, c) can serve a query filtering only on column b.
Medium-EasyWhat is denormalization and when is it appropriate?
Medium-EasyTrue or False: A foreign key constraint automatically creates an index on the referencing column.
Medium-Easy