mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Enable parallel query by default.
Change max_parallel_degree default from 0 to 2. It is possible that this is not a good idea, or that we should go with 1 worker rather than 2, but we won't find out without trying it. Along the way, reword the documentation for max_parallel_degree a little bit to hopefully make it more clear. Discussion: 20160420174631.3qjjhpwsvvx5bau5@alap3.anarazel.de
This commit is contained in:
@ -113,7 +113,7 @@ int effective_cache_size = DEFAULT_EFFECTIVE_CACHE_SIZE;
|
||||
|
||||
Cost disable_cost = 1.0e10;
|
||||
|
||||
int max_parallel_degree = 0;
|
||||
int max_parallel_degree = 2;
|
||||
|
||||
bool enable_seqscan = true;
|
||||
bool enable_indexscan = true;
|
||||
|
Reference in New Issue
Block a user