On Tue, Sep 13, 2022 at 08:17:27AM +1200, David Rowley wrote:
> > certain operating systems, PostgreSQL 15 supports the ability to
> > [prefetch WAL file contents](https://www.postgresql.org/docs/15/runtime-config-wal.html#GUC-RECOVERY-PREFETCH)
>
> I think "ability to prefetch WAL file contents" is not really an
> accurate way to describe this feature. What the prefetcher does is
> prefetch the pages of tables, indexes and materialized views which are
> referenced by WAL, so that when the recovery process comes along
> later, the pages of these relations which are being changed by the WAL
> record are more likely to be in memory so that the recovery process is
> less likely to have to load the referenced pages from disk.
>
> Perhaps the text should read:
>
> "PostgreSQL 15 adds support for prefetching pages referenced in [WAL]."
Related:
https://www.postgresql.org/message-id/20220904075450.6g4nm4hralyw3tab@alvherre.pgsql