Skip to content

Instantly share code, notes, and snippets.

@dsouzajude
Created October 26, 2022 11:09
Show Gist options
  • Save dsouzajude/8d2bf7b3f25874c58daf31a9d10c8d60 to your computer and use it in GitHub Desktop.
Save dsouzajude/8d2bf7b3f25874c58daf31a9d10c8d60 to your computer and use it in GitHub Desktop.
Parameter values to enable logical replication and tweaking for performance
### postgresql.conf
# Required to enable logical replication
wal_level = logical
# Tweaks
max_wal_senders = 35
max_worker_processes = 35
max_replication_slots = 35
max_logical_replication_workers = 35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment