A configuration parameter which enables WAL prefetching

recovery_prefetch is a configuration parameter which determines whether to enable WAL prefetching on a standby.

recovery_prefetch was added in PostgreSQL 15.


The default value for recovery_prefetch is: try.

Note the default value may be changed before the PostgreSQL 15 release.

Change history

Note that recovery_prefetch was originally added in PostgreSQL 14 (commit 1d257577) but subsequently withdrawn (commit c2dc1934).


GUC configuration item, Replication, WAL

See also

wal_decode_buffer_size, pg_stat_recovery_prefetch