Skip to content

Commit

Permalink
Enable wal_compression by default
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolayS authored Aug 22, 2021
1 parent 0fbe739 commit eba8fe7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ postgresql_parameters:
- {option: "effective_cache_size", value: "4GB"} # please change this value
- {option: "checkpoint_timeout", value: "15min"}
- {option: "checkpoint_completion_target", value: "0.9"}
- {option: "wal_compression", value: "on"}
- {option: "min_wal_size", value: "2GB"} # for PostgreSQL 9.5 and above (for 9.4 use "checkpoint_segments")
- {option: "max_wal_size", value: "4GB"} # for PostgreSQL 9.5 and above (for 9.4 use "checkpoint_segments")
- {option: "wal_buffers", value: "32MB"}
Expand Down

0 comments on commit eba8fe7

Please sign in to comment.