Skip to content

Commit 18d69b4

Browse files
authored
Merge pull request ClickHouse#79402 from ClickHouse/alexey-milovidov-patch-8
Update workload-scheduling.md
2 parents 647bc87 + 3bdd2b5 commit 18d69b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/operations/workload-scheduling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ CPU time is consumed by threads when they are not blocked and work on CPU-intens
237237
* Master thread — the first thread that starts working on a query or background activity like a merge or a mutation.
238238
* Worker thread — the additional threads that master can spawn to work on CPU-intensive tasks.
239239

240-
It may be desirable to use separate resources for master and worker threads to achieve better responsiveness. A high number of worker threads can easily monopolize CPU resource when high `max_thread` query setting values are used. Then incoming queries should block and wait a CPU slot for its master thread to start execution. To avoid this the following configuration could be used:
240+
It may be desirable to use separate resources for master and worker threads to achieve better responsiveness. A high number of worker threads can easily monopolize CPU resource when high `max_threads` query setting values are used. Then incoming queries should block and wait a CPU slot for its master thread to start execution. To avoid this the following configuration could be used:
241241

242242
```sql
243243
CREATE RESOURCE worker_cpu (WORKER THREAD)

0 commit comments

Comments
 (0)