Clera's 500GB Postgres Migration: Overnight Success
Alps Wang
Oct 9, 2026 · 2 views
NVMe Powers Production Postgres
Clera's migration story to ClickHouse Managed Postgres is a compelling narrative of overcoming database performance bottlenecks, particularly for a rapidly scaling AI talent agent. The core innovation lies in leveraging NVMe-backed storage within a managed Postgres offering, which directly addressed their critical need for fast point lookups alongside analytical workloads. The overnight migration, including cross-Atlantic data transfer with live traffic, showcases the robustness of ClickHouse's migration tools (ClickPipes) and the reliability of their managed service. The dramatic reduction in CPU usage from 100% for days to a mere 10-20% is a powerful testament to the underlying performance improvements. Furthermore, Clera's commitment to open-sourcing their benchmarking methodology is highly commendable, fostering transparency and enabling community validation, which is a significant positive for the broader tech ecosystem.
Key Points
- Clera successfully migrated its 500GB+ production Postgres database to ClickHouse Managed Postgres overnight.
- The primary driver for migration was outgrowing their previous vendor, experiencing issues like slow queries, 100% CPU utilization for days, timeouts, and write failures.
- ClickHouse Managed Postgres was chosen over Supabase, Neon, and PlanetScale due to its NVMe-backed storage, which demonstrated superior performance in both Clera's production workload replay and sysbench TPC-C benchmarks.
- The migration involved moving over 500 tables from the EU to the US while production traffic was active, utilizing ClickPipes for data synchronization.
- Post-migration, CPU usage dropped significantly from sustained 100% to 10-20%, with no configuration changes needed, indicating strong out-of-the-box performance.
- The solution provides a path to scale further, with the option to sync data to ClickHouse's analytical database if needed in the future.
- Clera has open-sourced their migration and benchmarking methodology, encouraging community scrutiny and reproduction.

📖 Source: How we migrated Clera’s 500 GB production database to ClickHouse Managed Postgres overnight
Related Articles
Comments (0)
No comments yet. Be the first to comment!
