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.
Default value
The default value for wal_recycle
is: on
.
Change history
- PostgreSQL 12
- added (commit 475861b2)
References
- PostgreSQL documentation: wal_recycle