| From: | shihao zhong <zhong950419(at)gmail(dot)com> |
|---|---|
| To: | Jeremy Schneider <schneider(at)ardentperf(dot)com> |
| Cc: | Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, SATYANARAYANA NARLAPURAM <satyanarlapuram(at)gmail(dot)com>, Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Lakshmi N <lakshmin(dot)jhs(at)gmail(dot)com>, Tomas Vondra <tomas(at)vondra(dot)me> |
| Subject: | Re: Skip prefetch for block references that follow a FPW or WILL_INIT of the same block |
| Date: | 2026-10-27 03:52:13 |
| Message-ID: | CAGRkXqSZg+GdtiZiz2oNzmCHfmYwA4e_7SD4rQR568B=5vapaQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi Jeremy,
I feel a little bit confused, could you please share more about the
following?
> Vacuum is the more concerning case here, as large vacuums would
consistently
> cause the 16x IOPS amplification on replicas.
I did not find a 16x amplification diagram in your github link. Maybe I am
missing
something?
> I also think that visibility map and FSM reads were the largest cause of
> replica reads when prefetch was disabled
In my understanding, these forks are quite small. VM is 1/4000 and most of
them
are constantly in memory, so not lots of IO required? For FSM, I dont think
they are
WAL logged and therefore they can not be recovery prefetched.
Additionally, most EBS-like block storage services offer a high
IOPS-to-throughput
ratio(usually 1:16-32kb), aggressive prefetching may not incur significant
waste.
This extra throughput capacity would likely go underutilized, especially
it is running heavy sequential scan prefetching.
Thanks,
Shihao
| From | Date | Subject | |
|---|---|---|---|
| Next Message | shveta malik | 2026-10-27 04:27:49 | Re: Proposal: Conflict log history table for Logical Replication |
| Previous Message | shihao zhong | 2026-10-27 03:31:06 | Re: First draft of PG 19 release notes |