ClickHouse / ClickHouse/ClickHouse

background_distributed_schedule_pool_size setting doesn't do what it says

Open
#62,001 0 comments 0 reactions 0 assignees View on GitHub
comp-distributed unexpected behaviour
Dominant language
C++
Stars
49.9k
Forks
9k
Avg merge
21h 32m
Merged PRs (30d)
515

Description

Looking at the source code and observing real-world behaviour, I see that asynchronous distributed inserts are actually single-threaded. (Or, rather, roughly one thread per table.)

Is this expected behavior? If yes, then perhaps this should be documented, because the current documentation makes it seem like increasing `background_distributed_schedule_pool_size` actually does something.

Clickhouse version 23.11.1.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.