Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitacdf2a8

Browse files
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 me
1 parent87545f5 commitacdf2a8

File tree

12 files changed

+1066
-3
lines changed

12 files changed

+1066
-3
lines changed

‎doc/src/sgml/spgist.sgml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,24 @@
112112
<literal>@&gt;</>
113113
</entry>
114114
</row>
115+
<row>
116+
<entry><literal>box_ops</></entry>
117+
<entry>box</entry>
118+
<entry>
119+
<literal>&lt;&lt;</>
120+
<literal>&amp;&lt;</>
121+
<literal>&amp;&amp;</>
122+
<literal>&amp;&gt;</>
123+
<literal>&gt;&gt;</>
124+
<literal>~=</>
125+
<literal>@&gt;</>
126+
<literal>&lt;@</>
127+
<literal>&amp;&lt;|</>
128+
<literal>&lt;&lt;|</>
129+
<literal>|&gt;&gt;</literal>
130+
<literal>|&amp;&gt;</>
131+
</entry>
132+
</row>
115133
<row>
116134
<entry><literal>text_ops</></entry>
117135
<entry><type>text</></entry>

‎src/backend/utils/adt/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ OBJS = acl.o arrayfuncs.o array_expanded.o array_selfuncs.o \
1414
bool.o cash.o char.o date.o datetime.o datum.o dbsize.o domains.o\
1515
encode.o enum.o expandeddatum.o\
1616
float.o format_type.o formatting.o genfile.o\
17-
geo_ops.o geo_selfuncs.oinet_cidr_ntop.oinet_net_pton.oint.o\
18-
int8.o json.o jsonb.o jsonb_gin.o jsonb_op.o jsonb_util.o\
17+
geo_ops.o geo_selfuncs.ogeo_spgist.oinet_cidr_ntop.oinet_net_pton.o\
18+
int.oint8.o json.o jsonb.o jsonb_gin.o jsonb_op.o jsonb_util.o\
1919
jsonfuncs.o like.o lockfuncs.o mac.o misc.o nabstime.o name.o\
2020
network.o network_gist.o network_selfuncs.o\
2121
numeric.o numutils.o oid.o oracle_compat.o\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp