Prelude to multi-level indexes
Example: multi-level index
Example on using a multi-level index
Find
the record
using search key
D
Example on using a multi-level index
Find
the entry
≤ D in
the first index
(use ≤ D because
it's a (sparse) primary index)
Example on using a multi-level index
Follow the
database address to
next level of index file
Example on using a multi-level index
Search for the
key = D in the
data block
(because it's a
(dense) secondary index)
A very pouplar (dynamic) multi-level
index
❮
❯