Skip to content

Why is the clickhouse-cpp much slower than clickhouse-client in insertion #48

@wangxi19

Description

@wangxi19

I use clickhouse-client to batch insert 1 million rows, the inserting speed can reach to almost 140 thousands rows per sencond(although it is slow also), but when I use clickhouse-cpp in my program, I tested the inserting speed, It is only 10 thousands rows per second, I have modified clickhouse.cpp file to support continuous insertion without declaring 'INSERT INTO ... ' statement, the speed has growed up to 10 thousands rows per second from the original 600 rows per second.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions