Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

ClickHouse 8 min read Case study mediumAdept

How Grupo MasMovil Monitors Radio Access Networks with ClickHouse

Grupo MasMovil replaced legacy telecom monitoring tools with ClickHouse to track thousands of radio access network nodes that emit hundreds of counters every 15 minutes, roughly 3 TB per day. Rather than precomputing KPIs for every temporal and spatial aggregation in an OLAP-cube style, they store only raw cell-level counters enriched with topology columns and compute KPI formulas at query time in SQL. This avoids the distortion of averaging precomputed ratios and lets Grafana switch between aggregations dynamically. Results after 18 months: 16x less disk while retaining a year of 15-minute data, 10x less CPU and memory, and publication delay cut from 3 hours to 15 minutes.

Related posts

  • OONI Powers its Measurement of Internet Censorship with ClickHouse

    ClickHouse mediumAdept

    OONI, a non-profit that measures internet censorship through volunteer-run probes, replaced flat files, MongoDB and PostgreSQL with ClickHouse to store measurement metadata in a single 1.4-billion-row ReplacingMergeTree table, while raw JSON stays on S3. Aggregation queries behind the Measurement Aggregation Toolkit, which use countIf grouped by user-chosen dimensions, now run directly on the dataset. This removed the pre-computed counter tables PostgreSQL required. Heavy queries dropped from up to 20 minutes to hundreds of milliseconds, a sample query scanned 59M rows in 600 ms, and on-disk size halved.

  • How BENOCS uses ClickHouse to monitor network traffic for the world’s biggest telcos

    ClickHouse easyNovice

    BENOCS builds its Flow Analytics network-traffic monitoring for large telcos on ClickHouse, processing dozens of terabytes of asynchronous feeds per day through a self-healing push pipeline that computes results as each feed's data arrives and backfills when late data shows up. Time is the primary key of the MergeTree tables, so DISTINCT queries on it can check data availability across terabytes in seconds, and processing a time range costs the same regardless of table size. ASOF joins handle fuzzy matching between feeds with very different time resolutions by joining on the nearest timestamp instead of an exact one.

  • How SolarWinds uses ClickHouse BYOC for real-time observability at scale

    ClickHouse mediumAdept

    SolarWinds ingests about 3 million telemetry messages per second, roughly 550 MB/s with 1 GB bursts, into ClickHouse ReplacingMergeTree tables. Its hottest data, the most recent 60 minutes, suffered when merges lagged behind ingestion. Reducing index granularity, verified by A/B testing a mirrored table through an internal query router, cut five-minute-window query latency from 76 ms to 28 ms. The tradeoffs were primary-key index memory growing from 10 GB to as much as 320 GB and merge times rising nearly 50%. Switching file reads from pread_threadpool to pread on fast SSDs added further gains, and the team moved to ClickHouse BYOC on AWS for S3-backed storage, compute-compute separation and lower operational overhead.

  • How Mercado Libre rebuilt its observability platform on ClickHouse Cloud with 75x faster trace queries

    ClickHouse mediumAdept

    Mercado Libre moved the storage layer of its OpenTelemetry-based tracing platform, O11y events, to ClickHouse Cloud. Transformation, filtering and aggregation now run inside the database through materialized views instead of on clients at query time. A ReplacingMergeTree lookup table ordered by attribute key, time buckets, value and trace ID, with a Bloom filter skip index, supports two-step high-cardinality queries against an AggregatingMergeTree trace summary. Queries dropped from over five minutes to about four seconds (75x), compression reached 86–89% on trillions of rows, and throughput is 400M spans/min with only 30% of critical apps migrated. Lessons include benchmarking under real load, iterating on primary keys, tuning batch and async inserts, and separating read, write and merge clusters.

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

    ClickHouse easyNovice

    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.

The quest for software engineering knowledge.

Look:
Layout: