forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitacdf2a8
committed
Introduce SP-GiST operator class over box.
Patch implements quad-tree over boxes, naive approach of 2D quad tree will notwork for any non-point objects because splitting space on node is notefficient. The idea of pathc is treating 2D boxes as 4D points, so,object will not overlap (in 4D space).The performance tests reveal that this technique especially beneficialwith too much overlapping objects, so called "spaghetti data".Author: Alexander Lebedev with editorization by Emre Hasegeli and me1 parent87545f5 commitacdf2a8
File tree
12 files changed
+1066
-3
lines changed- doc/src/sgml
- src
- backend/utils/adt
- include
- catalog
- utils
- test/regress
- expected
- sql
12 files changed
+1066
-3
lines changedLines changed: 18 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
115 | 133 |
| |
116 | 134 |
| |
117 | 135 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 |
| - | |
| 17 | + | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
|
0 commit comments
Comments
(0)