From: Tom Hughes Date: Thu, 24 Aug 2023 19:44:46 +0000 (+0100) Subject: Configure the database master to keep 16Gb of WAL data X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/d1b4220b593a5f1df27e58a2975df20bda138ecb Configure the database master to keep 16Gb of WAL data --- diff --git a/roles/db-master.rb b/roles/db-master.rb index 3ebd79e82..b7bc87f3b 100644 --- a/roles/db-master.rb +++ b/roles/db-master.rb @@ -6,7 +6,8 @@ default_attributes( :settings => { :defaults => { :archive_mode => "on", - :archive_command => "/usr/local/bin/openstreetmap-wal-g wal-push %p --walg-prevent-wal-overwrite=true" + :archive_command => "/usr/local/bin/openstreetmap-wal-g wal-push %p --walg-prevent-wal-overwrite=true", + :wal_keep_size => "16384" } } }