postgres Delete PGwal
- matikan service postgres => pg_ctlcluster 13 main stop
setting postgres
-
wal_level = minimal
-
archive_mode = off
-
comment archive_command => #archive_command
-
hapus file di pg_archive => masuk ke folder pg_archive jalankan perintah rm -rf *
-
hapus file di pg_wal 3 hari sebelum hari ini => masuk ke folder pg_wal jalankan perintah find . -type f -mtime +3 -exec rm {} ;
-
nyalakan kembali service postgres => pg_ctlcluster 13 main start