Skip to content

Commit

Permalink
add effective_cache_size to postgresql_server_conf
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledk2 authored and sbesson committed Aug 15, 2024
1 parent 36da6ae commit 0e02c6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible/group_vars/database-hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ postgresql_install_extensions: True

postgresql_server_conf:
shared_buffers: "{{ (ansible_memtotal_mb / 4) | int }}MB"
effective_cache_size: "{{ (ansible_memtotal_mb * 0.75 ) | int }}MB"

0 comments on commit 0e02c6d

Please sign in to comment.