---
title: "How Chartmetric uses ClickHouse to turn artist data into music intelligence"
description: "Chartmetric moved its heaviest time-series and relational workloads off Postgres RDS and Snowflake."
url: "https://swe.quest/articles/how-chartmetric-uses-clickhouse-to-turn-artist-data-into-music-intelligence-ce4a9132c749d911"
canonical: "https://clickhouse.com/blog/chartmetric-uses-clickhouse-to-turn-artist-data-into-music-intelligence"
source: "ClickHouse"
published: "2025-05-21"
difficulty: "medium"
kind: "Case study"
reading_minutes: 7
tags: ["analytics","databases","postgres","observability","cost-optimization"]
---

# How Chartmetric uses ClickHouse to turn artist data into music intelligence

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2025-05-21, 7 min read, Case study. Original: [https://clickhouse.com/blog/chartmetric-uses-clickhouse-to-turn-artist-data-into-music-intelligence](https://clickhouse.com/blog/chartmetric-uses-clickhouse-to-turn-artist-data-into-music-intelligence)

## Summary

Chartmetric moved its heaviest time-series and relational workloads off Postgres RDS and Snowflake. It started on self-hosted ClickHouse on EC2, then switched to ClickHouse Cloud once operating the cluster past 8 TB on EBS became painful. Time-series queries that used to time out now finish in about six seconds, RDS storage dropped by 10 TB, and a two-billion-row artist-playlist table went from over five minutes to about two seconds per query. That table handles deletes through Snowflake-generated deletion markers, a row\_active flag and VersionedCollapsingMergeTree instead of FINAL. Lessons learned: do joins upstream to avoid out-of-memory errors, and use multiple projections to serve different access patterns, keeping in mind that projections don't support deletes.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Databases](https://swe.quest/tags/databases.md) (Data & databases)
- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)

## Prerequisites

- columnar OLAP databases ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- ClickHouse MergeTree engines ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))

## Keywords

ClickHouse Cloud, Chartmetric, Snowflake, VersionedCollapsingMergeTree, OpenTelemetry, Postgres RDS

## Related posts

- [Behind the music: How Chartmetric is scaling music analytics with ClickHouse](https://swe.quest/articles/behind-the-music-how-chartmetric-is-scaling-music-analytics-with-clickhouse-8636babde296e87c.md): ClickHouse · 2026-01-08 · Medium · 7 min read · Analytics & OLAP, Performance engineering, Databases, SQL
  Chartmetric moved time-series and playlist workloads from Postgres and Snowflake to ClickHouse Cloud, cutting RDS storage from 28 TB to 18 TB and bringing queries that timed out at 60 seconds down to under 3 seconds.
- [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 GitLab serves sub-second analytics to 50 million users](https://swe.quest/articles/how-gitlab-serves-sub-second-analytics-to-50-million-users-cabf627f25c869fd.md): ClickHouse · 2025-10-21 · Easy · 10 min read · Analytics & OLAP, PostgreSQL, Databases, Scaling
  GitLab moved its user-facing product analytics from Postgres to ClickHouse after dashboards repeatedly hit its 15-second performance ceiling.
- [How HighLevel rebuilt its data platform for speed, scale, and simplicity on ClickHouse Cloud](https://swe.quest/articles/how-highlevel-rebuilt-its-data-platform-for-speed-scale-and-simplicity-on-826417013669e8fd.md): ClickHouse · 2026-01-12 · Medium · 8 min read · Analytics & OLAP, Databases, Scaling, Observability
  HighLevel replaced MySQL, Elasticsearch, Firestore and a document database with ClickHouse Cloud for lead activity, workflow logs, notifications and billing dashboards.
- [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)
