Edb postgresql instance is producing more number of WAL file segments ( each 16 MB ) in size and mount point is getting filled up .
How can the WAL file size be reduced and increase the checkpoint
Edb postgresql instance is producing more number of WAL file segments ( each 16 MB ) in size and mount point is getting filled up .
How can the WAL file size be reduced and increase the checkpoint
you can change the amount of data to be written to wal with:
https://www.postgresql.org/docs/current/static/runtime-config-wal.html#GUC-WAL-LEVEL
wal_level determines how much information is written to the WAL. The default value is replica, which writes enough data to support WAL archiving and replication, including running read-only queries on a standby server. minimal removes all logging except the information required to recover from a crash or immediate shutdown. Finally, logical adds information necessary to support logical decoding. Each level includes the information logged at all lower levels. This parameter can only be set at server start.
also, you might want to write same amount of data, but configure archival command (so you would get rid of archived wals and release space without loosing them):
https://www.postgresql.org/docs/current/static/continuous-archiving.html#BACKUP-ARCHIVING-WAL
also check wal_keep_segments
and max_wal_size
...