Re: index prefetching

From: Andres Freund <andres(at)anarazel(dot)de>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: Tomas Vondra <tomas(at)vondra(dot)me>, Alexandre Felipe <o(dot)alexandre(dot)felipe(at)gmail(dot)com>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Melanie Plageman <melanieplageman(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Georgios <gkokolatos(at)protonmail(dot)com>, Konstantin Knizhnik <knizhnik(at)garret(dot)ru>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>
Subject: Re: index prefetching
Date: 2026-04-06 13:09:01
Message-ID: jncvx6hst4tpczvvh7ts2lpzr7scbm25vcrp546lhxanvmj4c2@md7nswr4ghys
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Peter and I just chatted a bit about the state of the patchset. Unfortunately
we both think it needs more polish than is doable in the remaining time.

Quite a few people have tried very hard over the last months to get this, and
its dependencies, into a committable shape. The patchset is much better than
it was. The performance is better. Regressions are drastically reduced. The
performance gains are often unbelievably large.

I'd be happy to merge the patchset from the performance POV. I'd be happy to
merge it from a high-level architectural perspective. It's just the pesky
details that need more buffing out than our tired arms can do in the remaining
time. I think Peter feels similar.

I was kind of wondering if it could make sense to try to push
"Add slot-based table AM index scan interface."

given just how much better it architecturally is than what we do today. But
that would probably end up with non-trivial tableam changes in consecutive
releases, which doesn't quite seem worth it.

Oh well, PG 20 will be awesome.

Thanks to everyone helping!

Andres

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrei Lepikhov 2026-04-06 13:22:04 Re: pg_plan_advice
Previous Message Ashutosh Sharma 2026-04-06 13:07:23 Re: synchronized_standby_slots behavior inconsistent with quorum-based synchronous replication