max_wal_size

A configuration parameter determining how large uncheckpointed WAL can grow before an automatic checkpoint is executed

max_wal_size is a configuration parameter determining how large uncheckpointed WAL can grow before an automatic checkpoint is executed.

max_wal_size was introduced in PostgreSQL 9.5.

max_wal_size does not imply an absolute upper limit on the total size of all WAL files

Default value

The default value for max_wal_size is: 1GB.

Change history

max_wal_size and min_wal_size replaced checkpoint_segments.

Categories

GUC configuration item, WAL

See also

min_wal_size, wal_keep_size