Skip to content
Theory · Indexes and query plans · lesson 2 of 11

The B-tree index

In the previous lesson we leafed through a book with no index. Now let's open a book that has one. At the back of the book, words stand in alphabetical order, each with its page numbers: "raf — 12, 340". You find the letter R, then the word, and open only two pages out of five hundred.

In this lesson

  • Creating an index
  • How a B-tree works
  • The price of an index
  • Common mistake
  • Key points