Skip to content

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

ClickHouse 5 min read Case study easyNovice

How LINE MANGA used ClickHouse to enable real-time analysis without moving a single row

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. Virtual tables built with the MySQL Table and Database Engines push filter conditions down to each MySQL shard and aggregate the results in ClickHouse. That lets engineers join product metadata with user purchases across servers and total platform-wide sales in a single SQL query, with no ETL lag and no copying of sensitive or audit-restricted data. Engineers test queries locally with clickhouse-local, Docker Compose and IntelliJ, while production queries go through an audit-compliant gateway. MySQL remains the system of record.

Related posts

  • Ongage's Strategic Shift to ClickHouse for Real-time Email Marketing

    ClickHouse easyNovice

    Ongage, an email and SMS marketing automation company processing about half a billion messages a day, moved its campaign analytics and automation reporting from a large AWS RDS MySQL cluster (alongside MongoDB and Redshift) to ClickHouse Cloud. The pipeline loads raw events from S3 with the s3Cluster function and copies around eight MySQL tables in via the MySQL table engine, swapping them in with EXCHANGE. A materialized view enriches inserted events with joins and writes them to a SummingMergeTree table that serves queries. Reports that took two to three hours on MySQL now return almost instantly. ClickHouse was chosen over SingleStore on storage cost (SingleStore was 6x more expensive) and materialized view support, and the managed cloud offering won on operational burden and support.

  • How FabFunnel powers real-time marketing analytics with ClickHouse Cloud

    ClickHouse mediumAdept

    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. Spend and revenue data now stream through Confluent Kafka via ClickPipes into ReplacingMergeTree tables, which replace the old delete-and-reinsert refresh cycle. Refreshable materialized views pre-aggregate into a single reporting table, and a buffer table handles real-time click data. Queries now return in under a second, and the system handled 19.2M queries reading 11.67 trillion rows in one month.

  • 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.

  • Trade secrets: How Coinhall uses ClickHouse to power its blockchain data platform

    ClickHouse easyNovice

    Coinhall, an omnichain trading terminal aggregating swap data from 23 blockchains, moved from BigQuery (about 2-second queries, thousands of dollars per month) to QuestDB and then to self-hosted ClickHouse. In Coinhall's comparison against Rockset, SingleStore and Snowflake, ClickHouse ran candlestick queries in 20 ms, latest-price queries in 8 ms and ASOF JOINs in 50 ms, on a 4 vCPU / 16 GB server costing about $50 a month. After migrating, the team tuned queries around sparse primary indexes and replaced full-table LIMIT BY scans with aggregating tables fed by materialized views. They also avoided or simplified sort-merge joins.

  • How Real Estate Analytics made its data pipeline 50x faster with ClickHouse

    ClickHouse easyNovice

    Real Estate Analytics replaced a MongoDB-based architecture with ClickHouse to serve user-selectable slicing across 200+ columns on 3-20 million row tables. In MongoDB each added index increased refresh time by about 10%, and full refreshes took 25-30 minutes. In ClickHouse the same refreshes finish in under 30 seconds (50x), and aggregation queries run about 10x faster. The team also replaced a Kafka-plus-containerized-consumer ingestion path with S3-to-ClickHouse loading, using globs, reading zip files without extracting them, the S3 table function and in-database JSON and regex parsing. Remaining gaps include no support for pre-1900 dates, weak WKT spatial support and, at the time, no auto-increment IDs.

The quest for software engineering knowledge.

Look:
Layout: