[Clickhouse] How clickhouse implements tcp to send data

Insert picture description here

1 Overview

According to the blog guide: add link description

Clickhouse is a database that queries very fast, but writes need to be careful not to write high-frequency and low-volume. This very slow may also cause too many parts ……………… within the error.
In practical applications, the data needs to be collected first, and then written when a certain amount is reached. But this is a little more troublesome. Is there a way to write any amount in real time without causing too parts many errors?
Yes, but you can only use the tcp client. The writing speed of streaming trial writing is very fast. I test 1000w on the cloud server and can write it in about 12s. Can refer to one-ck

Guess you like

Origin blog.csdn.net/qq_21383435/article/details/113418151