From: Teodor Sigaev <teodor@sigaev.ru>
To: pgsql-committers@postgresql.org
Subject: pgsql: Introduce SP-GiST operator class over box.
Date: Wed, 30 Mar 2016 15:48:36 +0000
Message-ID: <E1alIMG-0001Ut-O6@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Introduce SP-GiST operator class over box.
Patch implements quad-tree over boxes, naive approach of 2D quad tree will not
work for any non-point objects because splitting space on node is not
efficient. 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 beneficial
with too much overlapping objects, so called "spaghetti data".
Author: Alexander Lebedev with editorization by Emre Hasegeli and me
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/acdf2a8b372aec1da09370fca77ff7dccac7646d
Modified Files
--------------
doc/src/sgml/spgist.sgml | 18 +
src/backend/utils/adt/Makefile | 4 +-
src/backend/utils/adt/geo_spgist.c | 699 +++++++++++++++++++++++++++++++
src/include/catalog/pg_amop.h | 16 +
src/include/catalog/pg_amproc.h | 5 +
src/include/catalog/pg_opclass.h | 1 +
src/include/catalog/pg_opfamily.h | 1 +
src/include/catalog/pg_proc.h | 11 +
src/include/utils/geo_decls.h | 6 +
src/test/regress/expected/box.out | 240 +++++++++++
src/test/regress/expected/opr_sanity.out | 6 +-
src/test/regress/sql/box.sql | 62 +++
12 files changed, 1066 insertions(+), 3 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: teodor@sigaev.ru
Subject: Re: pgsql: Introduce SP-GiST operator class over box.
In-Reply-To: <E1alIMG-0001Ut-O6@gemulon.postgresql.org>
References: <E1alIMG-0001Ut-O6@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox