Verified Commit 5c103155 authored by Tulio Ruiz's avatar Tulio Ruiz
Browse files

[IMP] Use additional memory, this should speed up the TPS

parent 89f47f9d
Pipeline #150445 passed with stage
in 17 seconds
......@@ -110,7 +110,7 @@ max_connections = 200 # (change requires restart)
# - Memory -
#shared_buffers = 128MB # min 128kB
shared_buffers = MB # min 128kB
# (change requires restart)
#huge_pages = try # on, off, or try
# (change requires restart)
......@@ -119,8 +119,8 @@ temp_buffers = 16MB # min 800kB
# (change requires restart)
# Caution: it is not advisable to set max_prepared_transactions nonzero unless
# you actively intend to use prepared transactions.
work_mem = 16MB # min 64kB
#maintenance_work_mem = 64MB # min 1MB
work_mem = 32MB # min 64kB
maintenance_work_mem = 2GB # min 1MB
#replacement_sort_tuples = 150000 # limits use of replacement selection sort
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
max_stack_depth = 7680kB # min 100kB
......@@ -161,10 +161,10 @@ bgwriter_delay = 500ms # 10-10000ms between rounds
# - Asynchronous Behavior -
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
#max_worker_processes = 8 # (change requires restart)
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
#max_parallel_workers = 8 # maximum number of max_worker_processes that
effective_io_concurrency = 2 # 1-1000; 0 disables prefetching
max_worker_processes = 16 # (change requires restart)
max_parallel_workers_per_gather = 4 # taken from max_parallel_workers
max_parallel_workers = 16 # maximum number of max_worker_processes that
# can be used in parallel queries
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
# (change requires restart)
......@@ -195,7 +195,7 @@ full_page_writes = off # recover from partial page writes
#wal_compression = off # enable compression of full-page writes
#wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart)
#wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
wal_buffers = 16MB # min 32kB, -1 sets based on shared_buffers
# (change requires restart)
#wal_writer_delay = 200ms # 1-10000 milliseconds
#wal_writer_flush_after = 1MB # measured in pages, 0 disables
......@@ -208,7 +208,7 @@ full_page_writes = off # recover from partial page writes
checkpoint_timeout = 45min # range 30s-1d
#max_wal_size = 1GB
#min_wal_size = 80MB
#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
checkpoint_completion_target = 0.9 # checkpoint target duration, 0.0 - 1.0
#checkpoint_flush_after = 256kB # measured in pages, 0 disables
#checkpoint_warning = 30s # 0 disables
......@@ -312,7 +312,7 @@ checkpoint_timeout = 45min # range 30s-1d
#parallel_setup_cost = 1000.0 # same scale as above
#min_parallel_table_scan_size = 8MB
#min_parallel_index_scan_size = 512kB
#effective_cache_size = 4GB
effective_cache_size = 16GB
# - Genetic Query Optimizer -
......
Markdown is supported
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