Verified Commit f5667a0f authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

matrix: Adjust PostgreSQL tuning some more

Less work_mem because this explodes easily. It's per-operation, which a
query can have multiple of, and also across multiple worker threads.

More shared_buffers and effective_cache_size as these are global.
parent 26f44478
......@@ -14,10 +14,10 @@
- { role: certbot }
- { role: nginx }
- role: postgres
postgres_shared_buffers: 512MB
postgres_work_mem: 64MB
postgres_shared_buffers: 1GB
postgres_work_mem: 32MB
postgres_maintenance_work_mem: 256MB
postgres_effective_cache_size: 1GB
postgres_effective_cache_size: 2GB
- role: postfix
postfix_relayhost: "mail.archlinux.org"
- { role: matrix }
......
......@@ -761,8 +761,8 @@ database:
dbname: synapse
user: synapse
password: {{ vault_postgres_users.synapse }}
cp_min: 2
cp_max: 5
cp_min: 3
cp_max: 3
## Logging ##
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment