I enabled WAL archiving in EDB Postgresql 9.6 for PITR, but now every time a 16MB log file is created and filling Disk volume. How do I avoid that?
These are the changes made to Postgresql.conf
to enable the wal archive:
wal_level = replica
archive_mode = on
archive_command = 'cp %p /postgres/cluster/wals/%f'
(cp from pg_xlogs
to wals
folder)
Now the wal folder is filling every time.