Databases

Sparse index

An index with entries for only some rows: it takes less space and writes faster, but a page must be scanned on lookup.

Example

With 1 entry every 100 rows, 1 million rows need only 10,000 entries.

Test yourself: Sparse index

Dense and sparse indexes

What advantage does a sparse index have over a dense one?

Lessons that use it

More databases terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.