---
title: "Corsearch replaces MySQL with ClickHouse for content and brand protection"
description: "Corsearch replaced a pre-aggregated, heavily partitioned MySQL setup with ClickHouse to serve interactive anti-piracy search-engine analytics across 10+ filterable dimensions with daily, weekly and monthly rollups."
url: "https://swe.quest/articles/corsearch-replaces-mysql-with-clickhouse-for-content-and-brand-protection-e9a82a909bc26445"
canonical: "https://clickhouse.com/blog/corsearch-replaces-mysql-with-clickhouse-for-content-and-brand-protection"
source: "ClickHouse"
published: "2024-07-11"
difficulty: "easy"
kind: "Case study"
reading_minutes: 6
tags: ["analytics","observability","vector-search","mysql"]
---

# Corsearch replaces MySQL with ClickHouse for content and brand protection

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2024-07-11, 6 min read, Case study. Original: [https://clickhouse.com/blog/corsearch-replaces-mysql-with-clickhouse-for-content-and-brand-protection](https://clickhouse.com/blog/corsearch-replaces-mysql-with-clickhouse-for-content-and-brand-protection)

## Summary

Corsearch replaced a pre-aggregated, heavily partitioned MySQL setup with ClickHouse to serve interactive anti-piracy search-engine analytics across 10+ filterable dimensions with daily, weekly and monthly rollups. It began as a drop-in prototype with a nearly identical table structure and was in production for all clients by 2019. Compression gains, helped further by LowCardinality columns, cut server count. Corsearch also runs SQL-based vector distance searches over language-model embeddings in ClickHouse instead of a dedicated vector database, and built a two-table SQL-based observability setup with Grafana that stores over 10 billion rows across four years in under 325 GB.

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)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Vector search](https://swe.quest/tags/vector-search.md) (Data & databases)
- [MySQL](https://swe.quest/tags/mysql.md) (Data & databases)

## Prerequisites

- OLAP vs OLTP databases ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- columnar storage basics

## Keywords

ClickHouse, MySQL, Corsearch, Grafana, ClickHouse Cloud, OpenTelemetry

## Related posts

- [Trillabit Utilizes the Power of ClickHouse for Fast, Scalable Results Within Their Self-Service, Search-Driven Analytics Offering](https://swe.quest/articles/trillabit-utilizes-the-power-of-clickhouse-for-fast-scalable-results-within-6137812e3149a41e.md): ClickHouse · 2023-01-30 · Easy · 6 min read · Analytics & OLAP, Databases, Data pipelines
  TrillaBit moved its search-driven BI platform from Apache Solr to ClickHouse after Solr proved weak at high-volume aggregation, compression, SQL maturity and joins, and chose ClickHouse over Snowflake on cost and the ability to self-host.
- [How Lansweeper scaled IT, OT, and IoT insights with ClickHouse Cloud](https://swe.quest/articles/how-lansweeper-scaled-it-ot-and-iot-insights-with-clickhouse-cloud-8626be5e19fd7725.md): ClickHouse · 2025-07-11 · Easy · 5 min read · Analytics & OLAP, Cost optimization, Scaling, Search
  Lansweeper moved its asset-analytics layer from MongoDB plus Elasticsearch to self-hosted ClickHouse and then to ClickHouse Cloud as it grew to 50M assets, 1.4B software records and 5.5B vulnerabilities.
- [How Exabeam uses ClickHouse for scalable, searchable security analytics](https://swe.quest/articles/how-exabeam-uses-clickhouse-for-scalable-searchable-security-analytics-9b3f4c0a732d0875.md): ClickHouse · 2025-09-11 · Medium · 6 min read · Analytics & OLAP, Performance engineering, Threat detection, Data pipelines, Scaling
  Exabeam runs its security analytics platform on ClickHouse Cloud across 10 regions, ingesting up to 1.2M events/sec per region (80B+ daily, 3.5 PB raw compressed to 200 TiB), with compute-compute separation that isolates write, merge and read nodes.
- [So, is ClickHouse winning the observability wars?](https://swe.quest/articles/so-is-clickhouse-winning-the-observability-wars-3577c2c26e782dd2.md): ClickHouse · 2026-08-27 · Medium · 20 min read · Observability, Analytics & OLAP, Storage engines, Search, Performance engineering
  ClickHouse has become a common storage and query layer for observability, and the main reason is its columnar architecture.
- [Why OpenAI chose ClickHouse for petabyte-scale observability](https://swe.quest/articles/why-openai-chose-clickhouse-for-petabyte-scale-observability-dd57167d0fc8c4cb.md): ClickHouse · 2025-06-30 · Medium · 6 min read · Observability, Performance engineering, Analytics & OLAP, Scaling, Data structures
  OpenAI ingests petabytes of logs daily, growing over 20% monthly, into a ClickHouse cluster of 90 shards with two replicas each, fed by Fluent Bit agents.

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)
