wal_recycle

A configuration parameter determining whether WAL files should be recycled by renaming them

wal_recycle is a configuration parameter determining whether WAL files should be recycled by renaming them, avoiding the need to create new ones.

The default is on, the same behaviour as in previous PostgreSQL versions. It can be set to off, which may improve performance on "Copy-On-Write" (CoW) filesystems where creation of new files is faster than renaming.

wal_recycle was added in PostgreSQL 12 (commit 475861b2).

Categories

GUC configuration item, Performance, WAL

See also

wal_init_zero