Skip to content

Glossary: Django Beyond the Basics

Index, EXPLAIN

Also written: index, indexes, EXPLAIN, explain(), .explain()

An index is a structure that speeds up lookups, added in a model's `Meta.indexes`. `EXPLAIN`, or `.explain()` in Django, shows the database's plan for a query.

Where the book teaches it

Related terms

Seq Scan, Index Scan