Merge pull request #6979 from sherold/max_threads_default

Updating max_threads default value in docs.
This commit is contained in:
alexey-milovidov 2019-09-19 02:02:35 +03:00 committed by GitHub
commit 9b61939b68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -473,7 +473,7 @@ The maximum number of query processing threads, excluding threads for retrieving
This parameter applies to threads that perform the same stages of the query processing pipeline in parallel.
For example, when reading from a table, if it is possible to evaluate expressions with functions, filter with WHERE and pre-aggregate for GROUP BY in parallel using at least 'max_threads' number of threads, then 'max_threads' are used.
Default value: 2.
Default value: the number of physical CPU cores.
If less than one SELECT query is normally run on a server at a time, set this parameter to a value slightly less than the actual number of processor cores.