Re: Refactoring the API for amgetmulti - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Refactoring the API for amgetmulti
Date
Msg-id 3174.1153929592@sss.pgh.pa.us
Whole thread Raw
In response to Re: Refactoring the API for amgetmulti  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> I've considered whether it's worthwhile going to other way: getting the
> IndexScan executer node to uses getmulti to reduce index AM overhead.
> But that requires backward scan support also...

I think Heikki got most of the low-hanging fruit already with that patch
for page-at-a-time scanning in btree.  There's some wasted overhead just
from multiple levels of function call, but I doubt it's really a big
deal anymore.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Refactoring the API for amgetmulti
Next
From: "Bort, Paul"
Date:
Subject: Re: Better name/syntax for "online" index creation