01Chapter 1: How a B-tree index is searchedThis chapter explains how PostgreSQL searches a B-tree index, how to check whether the planner uses one, and why column order matters in a multicolumn index.2 min read
02Chapter 2: Sort order and ORDER BY with a multicolumn indexThis chapter assumes you know basic SQL (SELECT, WHERE, ORDER BY, CREATE TABLE), that you have created a single-column B-tree index, and that you can read simple EXPLAIN output. The examples use the orders and users tables from the tutorial's running schema:2 min read
03Chapter 3: Why index expressions must be immutableThis chapter assumes you know basic SQL, can create a table and an index, and can read simple EXPLAIN output. You should also know what an index is and how a B-tree stores sorted keys.2 min read