← All topics
Indexes

Indexes

2 articles on indexes

{ }
esr-rule.svg
#mongodb Advanced

The ESR rule: how compound indexes really get used

Equality, Sort, Range — the three letters that decide whether your compound index is a thoroughbred or a paperweight. We dissect the planner's prefix-matching logic on a 40M doc collection.

AD Admin ·May 12, 2026 ·14 min
cov
covering.svg
#postgres Intermediate

Covering indexes: when you can skip the heap entirely

If your index has every column the query needs, the database never has to fetch the row. Here's how to recognise the opportunity — and the storage trade.

AD Admin ·Apr 07, 2026 ·8 min