Improve ClickHouse performance
See original GitHub issueWhat do we show currently?
- total number of requests
- requests per minute
- number of unique operations
- success and failure rates
- p90, p95, p99 of latency
- top 5 clients names (with number of requests)
- top 5 client versions (with number of requests)
- operations over time (total and failures)
- RPM over time
- latency over time
- latency histogram (super heavy)
- list of unique operations (with p90, p95, p99, number of requests, failure rate)
What filters do we have?
- date range
- operations
What filters do we want to have?
- client names
- date range
- operations (if the number of selected operations is greater than half, let’s use
NOT IN (not-selected-list)
What else do we want to show?
- hide histogram
- dedicated page for a single operation
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Optimizing for Performance | ClickHouse Docs
Ensure your buckets are located in the same region as your ClickHouse instances. This simple optimization can dramatically improve throughput performance, ...
Read more >Improving Clickhouse query performance by tuning key order
Clickhouse key columns order does not only affects how efficient table compression is. Given primary key storage structure Clickhouse can faster or slower ......
Read more >ClickHouse Query Performance Tips and Tricks - Altinity
ClickHouse Query Performance Tips and Tricks. ByAltinity Team 14th October 2019 9th June 2020. by Robert Hodges, Altinity CEO
Read more >Improve Query Performance with Clickhouse Data Skipping ...
Clickhouse MergeTree table engine provides a few data skipping indexes which makes queries faster by skipping granules of data (A granule is the ......
Read more >Designing a faster data model to personalize browsing in real ...
The bottleneck had to be somewhere else, so we began to explore other ways of improving performance. After reducing the data read by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The migration plan (long but stable and without any data loss):
TODO:
OperationsReader
schema_coordinates_daily
(withTTL
andtotal
)operations_registry
+expires_at
An example insert
How to get data?