| From: | Alexander Korotkov <aekorotkov(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: SP-GiST for ranges based on 2d-mapping and quad-tree |
| Date: | 2012-06-21 21:33:29 |
| Message-ID: | CAPpHfdv_h5H9y+9Nqv71y0Tv1Rdc8YBp8K4fLZQ7VHb7GdKKjg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, Jun 14, 2012 at 2:56 AM, Alexander Korotkov <aekorotkov(at)gmail(dot)com>wrote:
> attached patch implements quad-tree on ranges. Some performance results in
> comparison with current GiST indexing.
> Index creation is slightly slower. Probably, it need some investigation.
> Search queries on SP-GiST use much more pages. However this comparison can
> be not really correct, because SP-GiST can pin same buffer several times
> during one scan. In CPU search queries on SP-GiST seems to be slightly
> faster. Dramatical difference in "column <@ const" query is thanks to
> 2d-mapping.
>
Patch with another SP-GiST implementation for ranges is attached. It uses
k-d tree instead of quad-tree. I would like to leave only one
implementation of SP-GiST for ranges. I'm going to do as comprehensive
testing as I can for it.
------
With best regards,
Alexander Korotkov.
| Attachment | Content-Type | Size |
|---|---|---|
| range_spgist_kd-0.1.patch | application/octet-stream | 32.8 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2012-06-21 21:37:48 | Re: SP-GiST for ranges based on 2d-mapping and quad-tree |
| Previous Message | Alexander Korotkov | 2012-06-21 21:29:26 | Re: SP-GiST for ranges based on 2d-mapping and quad-tree |