Skip to content
Theory · Indexes Beyond the B-tree · lesson 1 of 14

Access methods and the hash index

The ledger and three catalogues around it: btree with cards in order, gin whose syrniki card leads to two lines, and gist with a map

Let's go back to the coffee chain's ledger from the previous chapters. In the "SQL Core" course we gave it an index, like the one at the back of an ordinary book: values in order, next to them the row addresses. That is a B-tree. It quickly answers where the entry for order 5 is and which orders came in from March 1 to March 7.

In this lesson

  • What a B-tree can do
  • Access method and operator class
  • The hash index
  • Common mistake
  • Key points