Storing the internals of
a kd-tree
Storing the internals of
a kd-tree -
method 1: pointer swizzling
An internal node
is just a record that
is identified by a
database address:
Storing the internals of
a kd-tree -
method 1: pointer swizzling
A node pointer
in an internal node
is a database address
(pointing to an internal node record):
Storing the internals of
a kd-tree -
method 1: pointer swizzling
We can
store
multiple internal nodes
into one disk block as
follows:
Storing the internals of
a kd-tree -
method 1: pointer swizzling
Replace the
database address by
a memory address (= pointer !)
when
disk block is
in memory:
Storing the internals of
a kd-tree -
method 2: multi-way kd-tree
Storing the internals of
a kd-tree -
method 2: multi-way kd-tree
❮
❯