LESSON 3.1

How indexes work

04:33·8,204 learners
Daniel OkaforDaniel Okafor
Next lesson

In this lesson you will

  • Understand B-tree indexes and column order
  • Add partial and expression indexes where they fit
  • Weigh the write cost of every index you add

An index is a sorted structure the planner may choose to use. Column order in a composite index decides which queries it can serve.

What this lesson covers

  • Understand B-tree indexes and column order
  • Add partial and expression indexes where they fit
  • Weigh the write cost of every index you add

This lesson sits in Query Performance, part of PostgreSQL for Developers. It assumes what came before it and leads directly into the next lesson in the module.

UP NEXT

3.2 · Reading EXPLAIN ANALYZE

10:17

PostgreSQL for Developers

50%

Every lesson, searchable to the second.

© 2026 BIBLION

PRIVACY · TERMS · CONTACT