📌 If WAL archiving cannot keep up with the pace that WAL is generated, or if archive_command fails repeatedly, old WAL files will accumulate in pg_xlog until the situation is resolved.
pg_archivecleanup
유틸리티로 WAL 정리repmgr standby clone
명령어로 기존 Active DB를 Standby DB로 복구max_wal_size
값에 의해 유지(rotate)max_wal_size
값이 4GB로 WAL 개수는 256개로 유지되는 것으로 예상하였으나 그 이상 증가...max_wal_size
뿐만 아니라 wal_keep_segments
영향을 받음📌 Independently of max_wal_size, wal_keep_segments + 1 most recent WAL files are kept at all times.