ClickHouse / ClickHouse/ClickHouse
clickhouse write latency gradually increased.
- Dominant language
- C++
- Stars
- 49.9k
- Forks
- 9k
- Avg merge
- 21h 32m
- Merged PRs (30d)
- 515
Description
(you don't have to strictly follow this form)
**Describe the situation**
I have 4 machine, which write data to clickhouse every 10w row, each machine have write upperlimit 80w.

i found that the clickhouse p99 write latency will gradually increased.
you can see that in 14.50, the write latency is 10s, but it gradually increased to 50 second.
In 15:20, i restart the machine, the write latency immediate back to 10s.

**How to reproduce**
* clickhouse v21.8
* [[click](https://github.com/ClickHouse/clickhouse-go) v](https://github.com/ClickHouse/clickhouse-go/releases/tag/v2.3.0)
**Expected performance**
the write latency should not increased over time passed by.
**Additional context**
My clickhouse server have 3 node, each of them is 32core 64gb 20tb ssd.
here is the cpu and memory usage of clickhouse.

Contributor guide
Assessment
This issue has not been assessed yet.