Professional Documents
Culture Documents
Immanuel Trummer
itrummer@cornell.edu
www.itrummer.org
• Graph data
• Data streams
• Spatial data
• Graph data
• Data streams
• Spatial data
• Point data
• Region data
• Spatial joins
• Space-filling curves
• Grid files
• The R tree
X
Slides by Immanuel Trummer, Cornell University
B+ Trees for Spatial Data
Y B+ Tree Index on (X, Y)
X
Slides by Immanuel Trummer, Cornell University
B+ Trees for Spatial Data
Y B+ Tree Index on (X, Y)
de r
e x Or
Ind
X
Slides by Immanuel Trummer, Cornell University
B+ Trees for Spatial Data
Y B+ Tree Index on (X, Y)
de r
e x Or
Ind
Condition Applicable
X<3
Y>2
X<2 AND
Y<3
X
Slides by Immanuel Trummer, Cornell University
B+ Trees for Spatial Data
Y B+ Tree Index on (X, Y)
de r
e x Or
Ind
Condition Applicable
X<3
Y>2
X<2 AND
Y<3
X
Slides by Immanuel Trummer, Cornell University
Problem with B+ Trees
11
10
01
00
X
00 01 10 11
11
10
01
00 0
X
00 01 10 11
11
xt ?
Ne
10
at ' s
W h
01
00 0
X
00 01 10 11
11
10
01 1
00 0
X
00 01 10 11
11
10
01 1
00 0 2
X
00 01 10 11
11
10
01 1 3
00 0 2
X
00 01 10 11
11
10 4
01 1 3
00 0 2
X
00 01 10 11
11 5
10 4
01 1 3
00 0 2
X
00 01 10 11
11 5
10 4 6
01 1 3
00 0 2
X
00 01 10 11
11 5 7
10 4 6
01 1 3
00 0 2
X
00 01 10 11
11 5 7
10 4 6
01 1 3
00 0 2 8
X
00 01 10 11
11 5 7
10 4 6
01 1 3 9
00 0 2 8
X
00 01 10 11
11 5 7
10 4 6
01 1 3 9
00 0 2 8 10
X
00 01 10 11
11 5 7
10 4 6
01 1 3 9 11
00 0 2 8 10
X
00 01 10 11
11 5 7
10 4 6 12
01 1 3 9 11
00 0 2 8 10
X
00 01 10 11
11 5 7 13
10 4 6 12
01 1 3 9 11
00 0 2 8 10
X
00 01 10 11
11 5 7 13
10 4 6 12 14
01 1 3 9 11
00 0 2 8 10
X
00 01 10 11
11 5 7 13 15
10 4 6 12 14
01 1 3 9 11
00 0 2 8 10
X
00 01 10 11
11
10
01
00
X
00 01 10 11
11
10
01
00
X
00 01 10 11
11 R1 R2 ...
10
01
00
X
00 01 10 11
11 R1 R2 ...
01
00
X
00 01 10 11
11 R1 R3 R4, R5 ...
R3 R2
10 R6 R7 ...
R6 R4
01 R7
R5
00
X
00 01 10 11
11 R1 R3 R4, R5 ...
R3 R2
10 R6 R7 ...
R6 R4
01 R7
R5
00
X
00 01 10 11