An industrial IoT operator had ClickHouse tables that performed well when created and degraded steadily as sensor data accumulated. Dashboard queries were reading most of each table because the sort key did not match how the data was filtered. AceMQ redesigned the schema around the actual query mix.
ClickHouse performance is largely determined by how much data a query can skip, which comes down to sort key order, partitioning, and index granularity. The existing tables had been created with a sort key that put a high-cardinality identifier first, so the sparse primary index provided almost no skipping for the time-range filters every dashboard applied.
On-premises ClickHouse cluster storing multi-year sensor telemetry for plant monitoring dashboards.
AceMQ profiled the real query mix and measured, per query, how many granules were being read versus how many contained matching rows. That gap drove the sort key and partitioning redesign. Codec and compression choices were then made per column based on measured data characteristics rather than defaults.
Dashboard queries went from scanning most of each table to reading a small fraction, and typical response times improved by roughly an order of magnitude. Storage footprint also dropped meaningfully from the codec and TTL changes.
Assessment of shard and replica topology, storage tiering, query concurrency limits, and merge behavior ahead of a significant data volume increase.
Resolving ingestion failures where frequent small inserts produced parts faster than background merges could retire them, tripping the parts limit.
Whether you need architecture advisory, 24/7 support, or full managed services, AceMQ has the expertise to help.