Re: GSoC proposal: Fast GiST index build - Mailing list pgsql-hackers

From Tom Lane
Subject Re: GSoC proposal: Fast GiST index build
Date
Msg-id 818.1301932814@sss.pgh.pa.us
Whole thread Raw
In response to Re: GSoC proposal: Fast GiST index build  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Apr 4, 2011 at 7:16 AM, Alexander Korotkov <aekorotkov@gmail.com> wrote:
>> Project name
>> Fast GiST index build

> Would/could/should this be implemented in a manner similar to the
> existing "GIN fast update" feature?

Fast build and fast update tend to be two different problems ...

> It's occurred to me to wonder whether even btree indexes would benefit
> from this type of optimization.

GIN fast update is a win when you can optimize the insertion of multiple
occurrences of the same key.  There isn't really any corresponding
optimization possible in btree, AFAICS.  (Heikki did some work awhile
back on btrees with multiple TIDs per key, for low-cardinality tables,
which might conceivably admit of a similar optimization.  But I haven't
heard anything about that in a long time.  It wasn't real clear to me
where the win over GIN would be for that.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: time table for beta1
Next
From: Dave Page
Date:
Subject: Re: time table for beta1