Re: gsoc knn spgist

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: Костя Кузнецов <chapaev28(at)yandex(dot)ru>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: gsoc knn spgist
Date: 2014-03-25 20:34:58
Message-ID: CAPpHfdvF_j3ABU89aPqSxuE7aA3kzc=Dz6uJ94ztjsT2Hc_Ohg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Mar 25, 2014 at 8:16 PM, Костя Кузнецов <chapaev28(at)yandex(dot)ru> wrote:

> Hello.
>
> I submit a proposal. But Heikki Linnakangas write comments that i dont
> have a plan of implementation.
>
> My project is knn for spgist.
>
> Can I ask you a few questions?
>
> 1. I research a commit gist knn implementation. in gist implementation in
> role of queue is ised rtree(with distance comparator) , in spgist
> implementation this is List. Can i use rtree in spgist ? if i cant then i
> can use.
>

KNN-GiST uses RB-tree for queue. RB-tree is very different from R-tree. And
yes, it can be used in SP-GiST. However, alternative is heap (in-memory
structure, not table heap). I don't know why GiST doesn't use heap instead
of RB-tree.

----
With best regards,
Alexander Korotkov.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-03-25 20:41:27 Re: Minimum supported version of Python?
Previous Message Tom Lane 2014-03-25 19:08:16 Re: Minimum supported version of Python?