---
title: "How LINE MANGA used ClickHouse to enable real-time analysis without moving a single row"
description: "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."
url: "https://swe.quest/articles/how-line-manga-used-clickhouse-to-enable-real-time-analysis-without-moving-a-542da6f6b53d1c64"
canonical: "https://clickhouse.com/blog/line-manga"
source: "ClickHouse"
published: "2025-06-16"
difficulty: "easy"
kind: "Case study"
reading_minutes: 5
tags: ["analytics","mysql","distributed-databases","developer-productivity"]
---

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

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2025-06-16, 5 min read, Case study. Original: [https://clickhouse.com/blog/line-manga](https://clickhouse.com/blog/line-manga)

## Summary

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.

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)
- [MySQL](https://swe.quest/tags/mysql.md) (Data & databases)
- [Distributed databases](https://swe.quest/tags/distributed-databases.md) (Data & databases)
- [Developer productivity](https://swe.quest/tags/developer-productivity.md) (Engineering practices)

## Prerequisites

- MySQL sharding ([easy posts on MySQL](https://swe.quest/tags/mysql.md?difficulty=easy))
- SQL joins and aggregation ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))

## Keywords

ClickHouse, MySQL, LINE MANGA, clickhouse-local, MySQL Table Engine, MergeTree, Docker Compose

## Related posts

- [Ongage's Strategic Shift to ClickHouse for Real-time Email Marketing](https://swe.quest/articles/ongage-s-strategic-shift-to-clickhouse-for-real-time-email-marketing-dfca8e1a38de318e.md): ClickHouse · 2023-08-24 · Easy · 7 min read · Analytics & OLAP, MySQL, Databases, Cloud platforms
  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.
- [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.
- [How Critical Manufacturing uses ClickHouse to bring real-time intelligence to the factory floor](https://swe.quest/articles/how-critical-manufacturing-uses-clickhouse-to-bring-real-time-intelligence-to-ae1496e45cdf957c.md): ClickHouse · 2026-03-10 · Easy · 8 min read · Analytics & OLAP, Data pipelines, Databases
  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.
- [Trade secrets: How Coinhall uses ClickHouse to power its blockchain data platform](https://swe.quest/articles/trade-secrets-how-coinhall-uses-clickhouse-to-power-its-blockchain-data-platform-a19f7fb99396fe78.md): ClickHouse · 2024-08-14 · Easy · 5 min read · Analytics & OLAP, Databases, Performance engineering, Cost optimization
  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.
- [How Real Estate Analytics made its data pipeline 50x faster with ClickHouse](https://swe.quest/articles/how-real-estate-analytics-made-its-data-pipeline-50x-faster-with-clickhouse-db89e32ee24fd3bf.md): ClickHouse · 2025-04-24 · Easy · 6 min read · Analytics & OLAP, Data pipelines, Databases, Performance engineering
  Real Estate Analytics replaced a MongoDB-based architecture with ClickHouse to serve user-selectable slicing across 200+ columns on 3-20 million row tables.

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)
