What problem does it solve?
This Skill fills gaps in ClickHouse cluster analysis when built-in dedicated tools (like get_slow_queries or get_expensive_queries) do not support the specific aggregations, custom time windows, or metric combinations you need for your use case.
Core Features & Use Cases
- Custom Query Log Analysis: Run pre-vetted read-only SQL recipes to analyze system.query_log for largest data scans, most expensive queries, query fingerprint patterns, and query volume trends.
- Table Storage Breakdown: Aggregate system.parts data to rank user tables by disk usage, row count, and compression ratio.
- Period-over-Period Comparison: Compare query load between two equal-length time windows to spot traffic spikes or performance regressions.
- Use Case: For example, if you need to identify the top 10 query patterns that consumed the most read bytes over a custom 7-day window, or compare query latency between this week and last week, this skill provides safe, version-aware SQL recipes to get those insights without risking data modification.
Quick Start
Use the data-analysis skill to run a custom read-only SQL query that identifies the top 5 query patterns with the highest average memory usage over a specified time window.