Re: index prefetching - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: index prefetching
Date
Msg-id CAH2-Wz=Ag3hrX-YWQAh1NYcvV5ZUzuenVnuZ-+4w55GL6hwpAQ@mail.gmail.com
Whole thread
In response to Re: index prefetching  (Peter Geoghegan <pg@bowt.ie>)
List pgsql-hackers
On Tue, Feb 17, 2026 at 8:11 PM Peter Geoghegan <pg@bowt.ie> wrote:
> FWIW, the version of the patch you're using is slightly different to
> the one I have here. Since I worked on unrelated issues with things
> like the cost of rescans with nestloop joins. Another difference is
> that the memory allocation for the VM cache is now combined with the
> main batch alloc, which seems to be more cache efficient. And saves us
> memory for plain index scans.

Here's a rebased branch with all of those mostly-unrelated optimization:

https://github.com/petergeoghegan/postgres/tree/index-prefetch-master-vmcache-rescan-optimizations

I suggest that you work off of this, on the off chance that these new
optimizations end up mattering. Which is quite possible with anything
that involves an index-only scan.

--
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [PATCH] Support automatic sequence replication
Next
From: Mahendra Singh Thalor
Date:
Subject: Re: Non-text mode for pg_dumpall