apla / node-clickhouse

Yandex ClickHouse driver for nodejs
MIT License
216 stars 50 forks source link

Stream transfer data #9

Open vixa2012 opened 6 years ago

vixa2012 commented 6 years ago

Hello dier support. I am working with Clickhouse on nodejs and using your driver.

As I can see, the stream transmits only one row per time. Transmit of 1,5 million of rows takes 25 sec. It would be very good if Stream could receive a bulk of rows per time.

Could you tell me, maybe it is a clickhouse configuration problem, or bad driver?

apla commented 6 years ago

I have branch with proper streams support and bulk reads, but I haven't finished implementation. You can clone report, switch to the proper-streams and fix it, if you want.