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.

wal_recycle was added in PostgreSQL 12.

Usage

wal_recycle can be set to off, which may improve performance on "Copy-On-Write" (CoW) filesystems where creation of new WAL files is faster than renaming.

The default value of on, retains the same behaviour for WAL file creation as in previous PostgreSQL versions.

Default value

The default value for wal_recycle is: on.

Change history

Categories

GUC configuration item, Performance, WAL

See also

wal_init_zero