File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2008,7 +2008,7 @@ include_dir 'conf.d'
2008
2008
<xref linkend="guc-max-worker-processes">. Note that the requested
2009
2009
number of workers may not actually be available at run time. If this
2010
2010
occurs, the plan will run with fewer workers than expected, which may
2011
- be inefficient. The default value is 2. Setting this value to 0
2011
+ be inefficient. Setting this value to 0, which is the default,
2012
2012
disables parallel query execution.
2013
2013
</para>
2014
2014
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ int effective_cache_size = DEFAULT_EFFECTIVE_CACHE_SIZE;
113
113
114
114
Cost disable_cost = 1.0e10 ;
115
115
116
- int max_parallel_workers_per_gather = 2 ;
116
+ int max_parallel_workers_per_gather = 0 ;
117
117
118
118
bool enable_seqscan = true;
119
119
bool enable_indexscan = true;
Original file line number Diff line number Diff line change @@ -2652,7 +2652,7 @@ static struct config_int ConfigureNamesInt[] =
2652
2652
NULL
2653
2653
},
2654
2654
& max_parallel_workers_per_gather ,
2655
- 2 , 0 , 1024 ,
2655
+ 0 , 0 , 1024 ,
2656
2656
NULL , NULL , NULL
2657
2657
},
2658
2658
Original file line number Diff line number Diff line change 163
163
164
164
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
165
165
#max_worker_processes = 8 # (change requires restart)
166
- #max_parallel_workers_per_gather = 2 # taken from max_worker_processes
166
+ #max_parallel_workers_per_gather = 0 # taken from max_worker_processes
167
167
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate
168
168
# (change requires restart)
169
169
#backend_flush_after = 0 # 0 disables, default is 0
You can’t perform that action at this time.
0 commit comments