mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
postgres: Add knobs for min_wal_size / max_wal_size.
This commit is contained in:
committed by
Tim Abbott
parent
b4c8d2e6f5
commit
1c8cfff0bd
@@ -21,6 +21,8 @@ class zulip::profile::postgresql {
|
||||
$max_parallel_maintenance_workers = zulipconf('postgresql', 'max_parallel_maintenance_workers', undef)
|
||||
|
||||
$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)
|
||||
$effective_io_concurrency = zulipconf('postgresql', 'effective_io_concurrency', undef)
|
||||
|
||||
|
@@ -829,6 +829,12 @@ shared_buffers = <%= @shared_buffers %>
|
||||
<% unless @wal_buffers.nil? -%>
|
||||
wal_buffers = <%= @wal_buffers %>
|
||||
<% end -%>
|
||||
<% unless @min_wal_size.nil? -%>
|
||||
min_wal_size = <%= @min_wal_size %>
|
||||
<% end -%>
|
||||
<% unless @max_wal_size.nil? -%>
|
||||
max_wal_size = <%= @max_wal_size %>
|
||||
<% end -%>
|
||||
<% unless @random_page_cost.nil? -%>
|
||||
random_page_cost = <%= @random_page_cost %>
|
||||
<% end -%>
|
||||
|
@@ -33,6 +33,12 @@ shared_buffers = <%= @shared_buffers %>
|
||||
<% unless @wal_buffers.nil? -%>
|
||||
wal_buffers = <%= @wal_buffers %>
|
||||
<% end -%>
|
||||
<% unless @min_wal_size.nil? -%>
|
||||
min_wal_size = <%= @min_wal_size %>
|
||||
<% end -%>
|
||||
<% unless @max_wal_size.nil? -%>
|
||||
max_wal_size = <%= @max_wal_size %>
|
||||
<% end -%>
|
||||
<% unless @random_page_cost.nil? -%>
|
||||
random_page_cost = <%= @random_page_cost %>
|
||||
<% end -%>
|
||||
|
Reference in New Issue
Block a user