---
title: "How Critical Manufacturing uses ClickHouse to bring real-time intelligence to the factory floor"
description: "Critical Manufacturing, a maker of Manufacturing Execution System (MES) software, replaced its SQL Server analytics stack with ClickHouse after historical queries stretched to hours and index and partition tuning became a burden."
url: "https://swe.quest/articles/how-critical-manufacturing-uses-clickhouse-to-bring-real-time-intelligence-to-ae1496e45cdf957c"
canonical: "https://clickhouse.com/blog/criticial-manufacturing"
source: "ClickHouse"
published: "2026-03-10"
difficulty: "easy"
kind: "Case study"
reading_minutes: 8
tags: ["analytics","data-pipelines","databases"]
---

# How Critical Manufacturing uses ClickHouse to bring real-time intelligence to the factory floor

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-03-10, 8 min read, Case study. Original: [https://clickhouse.com/blog/criticial-manufacturing](https://clickhouse.com/blog/criticial-manufacturing)

## Summary

Critical Manufacturing, a maker of Manufacturing Execution System (MES) software, replaced its SQL Server analytics stack with ClickHouse after historical queries stretched to hours and index and partition tuning became a burden. Kafka ingestion through materialized views into MergeTree tables now serves sub-second dashboards over billions of shop-floor events. ClickHouse has since expanded to equipment telemetry, OpenTelemetry-based observability and RAG embeddings. Key techniques were ELT instead of ETL so transformations can be fixed at query time, ReplacingMergeTree with careful ordering keys to handle late or duplicate events, JSON denormalization to avoid many-way joins, and TTL-based data lifecycle management. Replicated table engines and sharding are planned next.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [Databases](https://swe.quest/tags/databases.md) (Data & databases)

## Prerequisites

- OLAP basics ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- Kafka basics ([easy posts on Queues & messaging](https://swe.quest/tags/messaging.md?difficulty=easy))

## Keywords

ClickHouse, ClickHouse Cloud, SQL Server, Kafka, ReplacingMergeTree, OpenTelemetry, MES

## Related posts

- [Data Hive: The story of beehiiv’s journey from Postgres to ClickHouse](https://swe.quest/articles/data-hive-the-story-of-beehiiv-s-journey-from-postgres-to-clickhouse-467867cb2bebb87b.md): ClickHouse · 2024-08-21 · Easy · 6 min read · Analytics & OLAP, Databases, PostgreSQL, Stream processing, Queues & messaging
  beehiiv replaced its Postgres-and-Ruby-queue analytics system, which struggled with billions of email events and had multi-hour reporting delays, with a Kafka-fed ClickHouse Cloud pipeline.
- [How FabFunnel powers real-time marketing analytics with ClickHouse Cloud](https://swe.quest/articles/how-fabfunnel-powers-real-time-marketing-analytics-with-clickhouse-cloud-693f5ffb0f0b9887.md): ClickHouse · 2025-11-20 · Medium · 5 min read · Analytics & OLAP, Data pipelines, MySQL, Ads, Performance engineering
  FabFunnel moved its marketing analytics off a normalized MySQL reporting stack, where month-long queries took 11 seconds and year-long reports crashed browsers due to client-side merges, to ClickHouse Cloud.
- [98% faster queries, 50% lower cloud costs: Verihubs’ journey from Postgres to ClickHouse](https://swe.quest/articles/98-faster-queries-50-lower-cloud-costs-verihubs-journey-from-postgres-to-f6535061aff525b1.md): ClickHouse · 2026-07-06 · Medium · 6 min read · Analytics & OLAP, Data pipelines, PostgreSQL, Event-driven architecture
  Verihubs replaced a Postgres warehouse fed by daily Airflow batch pulls with a ClickHouse-based real-time OLAP stack.
- [How LINE MANGA used ClickHouse to enable real-time analysis without moving a single row](https://swe.quest/articles/how-line-manga-used-clickhouse-to-enable-real-time-analysis-without-moving-a-542da6f6b53d1c64.md): ClickHouse · 2025-06-16 · Easy · 5 min read · Analytics & OLAP, MySQL, Distributed databases, Developer productivity
  LINE MANGA uses ClickHouse as a federated query layer over its horizontally and vertically sharded MySQL fleet, querying data in place rather than ingesting it.
- [How Chartmetric uses ClickHouse to turn artist data into music intelligence](https://swe.quest/articles/how-chartmetric-uses-clickhouse-to-turn-artist-data-into-music-intelligence-ce4a9132c749d911.md): ClickHouse · 2025-05-21 · Medium · 7 min read · Analytics & OLAP, Databases, PostgreSQL, Observability, Cost optimization
  Chartmetric moved its heaviest time-series and relational workloads off Postgres RDS and Snowflake.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
