Skip to content

Instantly share code, notes, and snippets.

@basilmusa
Created June 23, 2020 20:50
Show Gist options
  • Save basilmusa/7acbdd7265fb73edfdbf069b008a61c9 to your computer and use it in GitHub Desktop.
Save basilmusa/7acbdd7265fb73edfdbf069b008a61c9 to your computer and use it in GitHub Desktop.
# The WAL level should be hot_standby
wal_level = hot_standby# Allow up to 5 standbys and backup processes to connect at a time.
# This should be set to at least 2 connections
max_wal_senders = 5# wal_keep_segments, the minimum number of segments to keep in the pg_xlog directory. Each segment is 16 MB in size.
wal_keep_segments = 1000 # Retain 1000 segments minimum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment