Observed
- We were using the clickhouse-go/v2 v.2.1.0 and go version 1.22.0, we recently bumped to clickhouse-go/v.2.29.0 and tried go version 1.23.9 and 1.25.5. As soon as we deployed the changes the containers started to get OOM.
- On profiling this we saw that the v.2.29.0 internally uses ch-go which is taking significantly more memory than the v.2.1.0 which uses the clickhouse-go.
Expected behaviour
- As bumping the version it's expected that higher version to perform better, we have ingestion heavy system and for that ch-go is recommended but its using higher memory and we see almost no performance gain in workers cpu. Were is it expected to see the performance gain on using the higher version?
Details
Attaching the screenshot of the profiling
Environment
Observed
Expected behaviour
Details
Attaching the screenshot of the profiling
Environment
clickhouse-goversion: 2.29database/sqlcompatible driverCREATE TABLEstatements for tables involved: