1. matikan service postgres => pg_ctlcluster 13 main stop

setting postgres

  1. wal_level = minimal

  2. archive_mode = off

  3. comment archive_command => #archive_command

  4. hapus file di pg_archive => masuk ke folder pg_archive jalankan perintah rm -rf *

  5. hapus file di pg_wal 3 hari sebelum hari ini => masuk ke folder pg_wal jalankan perintah find . -type f -mtime +3 -exec rm {} ;

  6. nyalakan kembali service postgres => pg_ctlcluster 13 main start