Re: index prefetching - Mailing list pgsql-hackers

From Andres Freund
Subject Re: index prefetching
Date
Msg-id rybxcmbauhmbvqugsddozowhgeu3ksakwjswwz55wdcovfuzrv@5kupnuviicyn
Whole thread Raw
In response to Re: index prefetching  (Tomas Vondra <tomas@vondra.me>)
Responses Re: index prefetching
Re: index prefetching
List pgsql-hackers
Hi,

On 2025-07-23 02:50:04 +0200, Tomas Vondra wrote:
> But I don't see why would this have any effect on the prefetch distance,
> queue depth etc. Or why decreasing INDEX_SCAN_MAX_BATCHES should improve
> that. I'd have expected exactly the opposite behavior.
> 
> Could be bug, of course. But it'd be helpful to see the dataset/query.

Pgbench scale 500, with the simpler query from my message.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Yugo Nagata
Date:
Subject: Re: stats.sql might fail due to shared buffers also used by parallel tests
Next
From: Nathan Bossart
Date:
Subject: Re: More protocol.h replacements this time into walsender.c