Professional Documents
Culture Documents
5204 :
Bounding box: =
smallest axis parallel rectangle containing the geometric object
The database search key for the geometric object is now that of the
bounding box.
r2
l2
dim 1
l1 r1
range w, G is stored in S
report all objects g in G with g.b ∩ w ≠ Ø
2
1 7
3 4
reports: 1, 6, 3, 5
g’
they are space relevant and the above storage schemes show
serious deficiencies
Primary concern:
When accessing data, long chains of pointers that are
crossing disk block boundaries must! be avoided.
Primary concern:
When accessing data, long chains of pointers that are
crossing disk block boundaries must! be avoided.
(course notes)
y : 15 y:4 dim 2
dim 3
…
dim d
dim 1
dim 2
hit query
cells
query q
report all
objects that
intersect q
drop ignored
the oval is examined not retrieved
and then droped
2. Coarse filter
retrieve the elements found in Step 1 from disc
3. Fine Filter
examine the elements (Step 2) if they fit the query
2. Data driven
1. k-d-B-trees
2. ….
3. Combinations
1. grid file and its variants
2. Bang file, ….
0 1
0 2 1 3
0 4 2 5 1 6 3 7
0 1 00 10 01 11
added
bit
this means that when you run out of space a piece of the same size is appended
resulting in a doubling of the space used.
However address calculations are simple!
2 3 2 5 3 7
0
0 1
0 1
0 4 1 6
Note the alternation of split in the dimensions. 1st split by x; 2nd split by y;
3rd split again by x-axis. Note also the each block is split.
1 3 2 3 6 7
0
0 1
0 2
0 1 4 5
Z-order
G.M. Morton
Ex.:
y = 2 = 010
x = 5 = 101
25 = 0 1 1 0 0 1
direction in which
to draw the elements
of the Hilbnert curve