What's new in ClickStack. December '25.
ClickStack's HyperDX UI can now use ClickHouse Incremental Materialized Views registered against a source to accelerate charts, searches, histograms and dashboards, even when filters are applied. At query time it runs EXPLAIN ESTIMATE against the base table and each eligible view and picks the one that scans the fewest granules. A view only qualifies if it contains every dimension and metric the chart needs. A worked example with two AggregatingMergeTree views over OpenTelemetry traces shows the smaller view being chosen until a SpanName filter or p99 metric forces a switch to the larger one. The feature is in Beta, views are re-evaluated on every query with no caching, and keeping fewer than 10 views per source is recommended.
Related posts
- ClickStack: A (half) year in review
ClickHouse easyNovice
ClickStack, the ClickHouse-based observability stack built on HyperDX and OpenTelemetry, shipped a run of features between its May launch and December. These include native JSON attribute storage, a ClickHouse Cloud-hosted UI, dashboard import/export and custom collector configs, and time-window chunked search that fetches recent data first and stops early. Later months added threshold alerting on isolated compute pools, configurable Event Deltas, and Service Maps in beta. December's integrated materialized views let the query layer use EXPLAIN ESTIMATE to pick whichever registered incremental view scans the fewest granules, accelerating searches, charts and dashboards automatically.
- How ClickStack makes ClickHouse faster for observability
ClickHouse mediumAdept
ClickStack speeds up ClickHouse for observability by generating and rewriting queries to fit how the engine stores, prunes and processes data, instead of passing raw SQL through. Search pages backwards through progressively wider time windows using optimize_read_in_order, and charts split the time range into bucket-aligned chunks that run in parallel. Filters on map attributes are redirected to materialized columns, and full-text searches are rewritten to index-aware functions such as hasAllTokens, which cut one example from 0.7s to 0.03s. Queries are also routed automatically to incremental materialized views chosen by an EXPLAIN ESTIMATE cost model, giving roughly 30x faster dashboards with 28x less memory.
- What's new in ClickStack. August '25.
ClickHouse mediumAdept
ClickStack's August 2025 update brings the HyperDX UI to ClickHouse Cloud in private preview with passwordless auth, leaving only the OTel collector to self-host. HyperDX gains custom chart axis aliases, pinned fields, an `any` aggregate that returns non-grouped columns without raising GROUP BY cardinality, auto-created bi-directional source correlations, bar/line chart switching, and a configurable search row limit. A query fix detects `toStartOfMinute(Timestamp)`-style primary keys and orders results by that expression first, so ClickHouse can use optimize_read_in_order and read only a fraction of rows instead of scanning the full table for small-LIMIT 'latest' queries.
- What's new in ClickStack - April 2026
ClickHouse mediumAdept
ClickStack's April 2026 release adds alerts driven by arbitrary ClickHouse SQL, so rolling baselines and standard-deviation anomaly checks can be written with window functions and fire when the query returns 1. The default otel_logs schema was redesigned around ClickHouse full-text indexes on attribute map keys/values and lower(Body), with a five-minute bucketed ordering key, improving sample query performance by over 70% at comparable insert cost; versions before 26.2 fall back to bloom_filter indexes. An opt-in companion column flattens attribute maps into key=value arrays so map lookups are rewritten to indexed has() predicates, running 1.4–10x faster. Autocomplete now reads from 15-minute materialized-view rollups instead of scanning live tables, and heatmaps become a general chart type.
- Using Materialized Views in ClickHouse
ClickHouse mediumAdept
ClickHouse materialized views act as insert-time triggers that write the result of a SELECT into a target table, letting expensive aggregations be precomputed. On a 1B-row Wikistat dataset, a SummingMergeTree-backed view cuts a top-projects query from 15 seconds to 3 ms, and AggregatingMergeTree with *State()/*Merge() combinators handles min/max/avg the same way. The same mechanism supports compacting history (with source-table TTL), validating and filtering rows via a Null-engine source table, routing invalid data to separate tables, and transforming columns. Practical guidance: keep views per table to around ten or fewer, still GROUP BY at query time since merges are asynchronous, avoid FINAL on large tables, and only aggregate for storage when it reduces rows by roughly 10x.