Skip to content

MediumConceptPerformance and scaling in practice

What is a database index you would add for a search by email and date?

What a good answer covers

A composite index with the equality column first and the range column second, such as (email, created_at), matching the query's filter and sort.

More on Performance and scaling in practice

Flashcards for this topic