-
Notifications
You must be signed in to change notification settings - Fork 48
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
Index and LA #130
Comments
I suggest enabling https://clickhouse.com/docs/en/operations/system-tables/query_log and then investigating what causes the mentioned issue. It will be quite easy after that.
I rather suspect that some of your users request a huge number of metrics from graphite than it's somehow related to carbon. |
I've been tried to stop graphite-clickhouse (and keep running carbon-clickhouse) in 23-50 and still getting the same problem in ~00-01. For what actually index table exist in this soft? Can I disable it if not using grafana in my scheme? |
Now in new day carbon-clickhouse generate insert. Not really needed and might be refactored in future. Also expire cache TTL - also produce new insert. What's size/records count of your index/tags table and daily index/tags uniq metrics ? |
Also Clickhouse try to use all avaliable cores for background processes (like merges). So restrict them for smaller value (than 54) may be a solution. |
I stopped 5 mins before 00-00 carbon-clickhouse and there was zero load spikes. So, this is not graphite-clickhouse for sure. |
At 00:00 it generates heavy inserts - like larger x4-5 than normal size ─query_duration_ms─┬─written_bytes─┬─http_user_agent────┬────query_start_time─┬─query─────────────────────────────────────────────────────────────────────────────┐ |
I found out why LA spikes, caused by rollup aggregation rules for too many metrics. |
I have a replicated cluster (3 nodes: 54 cpu, 256gb each). All nodes are replica. Inserts mostly goes on one node. Selects on another two.
Every night in ~00-00 something generate huge load (LA) on one of the node which are for selecting.
I am thinking this is indexing from carbon-clickhouse, but not sure.
Can you provide me some info about how cache-ttl and index working? There is no info about this in readme. How this works, for what it is?
Also can you provide me some tips to pump my config:
Regarding to this #91
The text was updated successfully, but these errors were encountered: