Professional Documents
Culture Documents
Antonin Guttman
Properties of R-Trees
Height Balanced
2 types of nodes
Leaves point to disk pages
Records in the leaves point to actual data objects
For a max capacity of M, min occupancy should be
M/2
Completely dynamic
Guaranteed Fan-out of M/2
Every leaf record is a smallest bounding box.
Root has at least two children
N dimensional rectangle.
Pointer to all rectangles that are cointained.
R-tree of order 4
Example
mn op
a bc d
ef
g h i
j k l
mn o p
Example
a
a b cd
e f
g h i
jk l
mn o p
Example
a
a b cd
e f
g h i
jk l
mn o p
Example
a
e f
a b cd
g h i
jk l
g
o
h
d
R-Trees: Operations
Inserts
Deletes
Updates ( delete and re-insert)
Queries/Searches
Insert
Node Splitting
Quadratic method
Linear method
Delete
Performance Tests
R-Tree perform well for spatial data with non zero node sizes.
With smaller node structure can be used as an in-memory
spatial data index.
It was fast.
Node split quality was a bit off-target, but it did not hurt the search
performance noticeably.