When is a B-tree index useful?
Reveal the answer and explore the explanation.
09MediumWhen is a B-tree index useful?
Answer
Medium
When is a B-tree index useful?
Answer
It commonly supports equality, ordered and range queries; performance depends on selectivity and query structure.
Practical example
Retrieve a user's recent attempts using an index on owner and timestamp.
Reference: Further reading ↗