mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2026-01-06 10:25:44 -05:00
postgres: adjust settings for server upgrade
This commit is contained in:
parent
5372218e49
commit
5157eeaa7b
1 changed files with 4 additions and 4 deletions
|
|
@ -126,7 +126,7 @@ max_connections = 100 # (change requires restart)
|
|||
|
||||
# - Memory -
|
||||
|
||||
shared_buffers = 512MB # min 128kB
|
||||
shared_buffers = 4GB # min 128kB
|
||||
# (change requires restart)
|
||||
#huge_pages = try # on, off, or try
|
||||
# (change requires restart)
|
||||
|
|
@ -211,10 +211,10 @@ io_method = io_uring # worker, io_uring, sync
|
|||
|
||||
# - Worker Processes -
|
||||
|
||||
max_worker_processes = 4 # (change requires restart)
|
||||
max_worker_processes = 10 # (change requires restart)
|
||||
#max_parallel_workers_per_gather = 2 # limited by max_parallel_workers
|
||||
#max_parallel_maintenance_workers = 2 # limited by max_parallel_workers
|
||||
max_parallel_workers = 4 # number of max_worker_processes that
|
||||
max_parallel_workers = 10 # number of max_worker_processes that
|
||||
# can be used in parallel operations
|
||||
#parallel_leader_participation = on
|
||||
|
||||
|
|
@ -437,7 +437,7 @@ random_page_cost = 1.1 # same scale as above
|
|||
#parallel_tuple_cost = 0.1 # same scale as above
|
||||
#min_parallel_table_scan_size = 8MB
|
||||
#min_parallel_index_scan_size = 512kB
|
||||
effective_cache_size = 2GB
|
||||
effective_cache_size = 16GB
|
||||
|
||||
#jit_above_cost = 100000 # perform JIT compilation if available
|
||||
# and query more expensive than this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue