Re: WIP: Fast GiST index build

Alexander Korotkov <aekorotkov@gmail.com>

From: Alexander Korotkov <aekorotkov@gmail.com>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Robert Haas <robertmhaas@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-08-16T18:46:06Z
Lists: pgsql-hackers
On Tue, Aug 16, 2011 at 9:43 PM, Heikki Linnakangas <
heikki.linnakangas@enterprisedb.com> wrote:

> Why is there ever a buffer on the root node? It seems like a waste of time
> to load N tuples from the heap into the root buffer, only to empty the
> buffer after it fills up. You might as well pull tuples directly from the
> heap.
>
Yes, seems reasonable. Buffer on the root node was in the paper. But now I
don't see the need of it too.

------
With best regards,
Alexander Korotkov.