feat: update postgresql-ha wal_level
This commit is contained in:
parent
18e02ac9d0
commit
df2b5a0b76
@ -820,7 +820,7 @@ postgresql:
|
|||||||
|
|
||||||
# - Settings -
|
# - Settings -
|
||||||
|
|
||||||
wal_level = 'logical'
|
wal_level = 'replica'
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
#fsync = on # flush data to disk for crash safety
|
#fsync = on # flush data to disk for crash safety
|
||||||
# (turning this off can cause
|
# (turning this off can cause
|
||||||
@ -927,7 +927,7 @@ postgresql:
|
|||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
max_replication_slots = '10'
|
max_replication_slots = '10'
|
||||||
# (change requires restart)
|
# (change requires restart)
|
||||||
wal_keep_size = '64MB' # in megabytes; 0 disables
|
wal_keep_size = 0 # in megabytes; 0 disables
|
||||||
#max_slot_wal_keep_size = -1 # in megabytes; -1 disables
|
#max_slot_wal_keep_size = -1 # in megabytes; -1 disables
|
||||||
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
#wal_sender_timeout = 60s # in milliseconds; 0 disables
|
||||||
#track_commit_timestamp = off # collect timestamp of transaction commit
|
#track_commit_timestamp = off # collect timestamp of transaction commit
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user