mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
postgresql: Default random_page_cost to 1.1.
The upstream PostgreSQL default is 4, which is more appropriate for spinning disks. In general, production deploys almost always use SSDs; adjust the Zulip default value to a better value for those.
This commit is contained in:
committed by
Tim Abbott
parent
cb36774b14
commit
85d50d09d4
@@ -23,7 +23,7 @@ class zulip::profile::postgresql(Boolean $start = true) {
|
||||
$wal_buffers = zulipconf('postgresql', 'wal_buffers', undef)
|
||||
$min_wal_size = zulipconf('postgresql', 'min_wal_size', undef)
|
||||
$max_wal_size = zulipconf('postgresql', 'max_wal_size', undef)
|
||||
$random_page_cost = zulipconf('postgresql', 'random_page_cost', undef)
|
||||
$random_page_cost = zulipconf('postgresql', 'random_page_cost', '1.1')
|
||||
$effective_io_concurrency = zulipconf('postgresql', 'effective_io_concurrency', undef)
|
||||
|
||||
$listen_addresses = zulipconf('postgresql', 'listen_addresses', undef)
|
||||
|
Reference in New Issue
Block a user