Indexes: follow a B+ path, then check the leaf

See how a B+ access path routes point and range searches, why a scan can still win, and why clustered storage depends on the engine. Transactions and indexes · Databases.

A lookup can enter the right branch and still be wrong if it stops before the leaf. Follow one search, then see why a database may choose a different path.

What you will learn

  • Trace point and range searches through a logical B+ layout
  • Separate routing separators from leaf records
  • Compare index trade-offs and engine-specific clustered storage

Lesson outline

  1. An access path versus a full scan
  2. Point and range searches through leaves
  3. Two engines, two storage contracts

18 minutes · 4 scenes · 0 predict checks · 15 quiz questions

The full lesson is available with Premium.