# Running out of runway: Migrating Temporal Cloud's billing store to ClickHouse

DevFeed: [Running out of runway: Migrating Temporal Cloud's billing store to ClickHouse](<https://devfeed.tech/articles/running-out-of-runway-migrating-temporal-cloud-s-billing-store-to-clickhouse-35917.md>)

Original publisher: [Read original article](<https://temporal.io/blog/migrating-temporal-clouds-billing-store-to-clickhouse>)

Author: Paul Oh

Published: 2026-08-11T00:00:00Z

Content type: article

Language: en

Sources: [Temporal Blog](<https://devfeed.tech/sources/temporal-blog.md>)

Topics: [clickhouse](<https://devfeed.tech/topics/clickhouse.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [data](<https://devfeed.tech/topics/data.md>), [Databases](<https://devfeed.tech/topics/databases.md>)

Tags: [clickhouse](<https://devfeed.tech/tags/clickhouse.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [control-plane](<https://devfeed.tech/tags/control-plane.md>), [cost](<https://devfeed.tech/tags/cost.md>), [data](<https://devfeed.tech/tags/data.md>), [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [results](<https://devfeed.tech/tags/results.md>), [table](<https://devfeed.tech/tags/table.md>), [temporal-voices](<https://devfeed.tech/tags/temporal-voices.md>)

## AI overview

Temporal Cloud migrated its billing store to ClickHouse after its previous warehouse had limited capacity. The migration provided three to five years of projected headroom, reduced steady-state costs by about 70%, and delivered usage data to customers roughly 30 minutes sooner. Temporal validated billing accuracy by running both databases in parallel for six weeks.

## Source excerpt

How Temporal Cloud migrated its billing store to ClickHouse, gaining years of headroom, cutting steady-state costs by about 70%, and improving data freshness.