-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[exporter/clickhouse] Why are batch inserts not used in clickhouse exporter? #28905
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Can you explain why you think that the clickhouse exporter is not using batched inserts? As far as I can tell it is batching the insert statements, but I might be wrong. |
In the code you can see that the insertion is performed by adding a large number of ordinary inserts to the transaction. |
I see. I think maybe your question then is why is the Clickhouse exporter using the standard I'm not sure why why standard |
Yes you are right. This is not clear to me either. |
Component(s)
exporter/clickhouse
Describe the issue you're reporting
It seems that using batch insert is much more performant than just a large number of records.
Example: https://github.com/SigNoz/signoz-otel-collector/blob/main/exporter/clickhouselogsexporter/exporter.go#L129
The text was updated successfully, but these errors were encountered: