]> git.parisson.com Git - teleforma.git/commitdiff
increase postgres workers
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 2 Aug 2021 23:27:17 +0000 (01:27 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 2 Aug 2021 23:27:17 +0000 (01:27 +0200)
etc/postgresql.conf

index e9fc669f208ae34a5afa8c6058e1bc7d2d95e4ae..726185475e4ef945c5a65d93fd3d7990a544af52 100644 (file)
@@ -174,13 +174,13 @@ dynamic_shared_memory_type = posix        # the default is the first option
 
 # - Asynchronous Behavior -
 
-effective_io_concurrency = 200         # 1-1000; 0 disables prefetching
+effective_io_concurrency = 512         # 1-1000; 0 disables prefetching
 #maintenance_io_concurrency = 10       # 1-1000; 0 disables prefetching
-max_worker_processes = 16              # (change requires restart)
+max_worker_processes = 32              # (change requires restart)
 max_parallel_maintenance_workers = 4   # taken from max_parallel_workers
 max_parallel_workers_per_gather = 4    # taken from max_parallel_workers
 #parallel_leader_participation = on
-max_parallel_workers = 16              # maximum number of max_worker_processes that
+max_parallel_workers = 32              # maximum number of max_worker_processes that
                                        # can be used in parallel operations
 #old_snapshot_threshold = -1           # 1min-60d; -1 disables; 0 is immediate
                                        # (change requires restart)