diff --git a/ansible/group_vars/database-hosts.yml b/ansible/group_vars/database-hosts.yml index 7fc9ad22..3867eb6c 100644 --- a/ansible/group_vars/database-hosts.yml +++ b/ansible/group_vars/database-hosts.yml @@ -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"