OpenReplay's ClickHouse Leap: Billions of Events, Sub-Second Queries
Alps Wang
Oct 22, 2026 · 9 views
ClickHouse Powers Front-end Observability at Scale
The article compellingly showcases OpenReplay's successful migration from Postgres to ClickHouse, particularly emphasizing the dramatic improvements in query performance, data compression, and operational overhead reduction. The shift from weekend-long manual cleanups in Postgres to automated TTL management in ClickHouse is a particularly strong testament to ClickHouse's suitability for time-series and event-heavy data. The use of materialized views for data transformation, reducing pipeline changes from days to half a day, is another significant technical win. The platform's ability to handle billions of daily events and terabytes of data on a single, vertically scaled ClickHouse instance with sub-second query times demonstrates the power and efficiency of ClickHouse for demanding analytics workloads. The native JSON support enabling custom events and the simplified two-table schema are also crucial enablers for OpenReplay's product offering.
However, a potential limitation or concern, though not explicitly detailed as a problem by OpenReplay, lies in the reliance on a single, vertically scaled ClickHouse instance. While this simplifies operations for self-hosted deployments, it inherently introduces a single point of failure and limits horizontal scalability. As customer data volumes continue to grow exponentially, vertical scaling will eventually hit hardware limits or become prohibitively expensive. The article briefly touches on ClickHouse Cloud as an alternative for SaaS, but for their self-hosted model, future architectural considerations for high availability and horizontal scaling within customer environments might become necessary. Furthermore, while the article highlights the ease of use and 'it just works' nature of ClickHouse features like TTL and materialized views, the complexity of managing and optimizing a large, single instance for extreme workloads could still present challenges for less experienced operations teams, even with ClickHouse's inherent efficiency.
Key Points
- OpenReplay migrated from Postgres to ClickHouse to handle massive front-end observability data volumes.
- ClickHouse enabled sub-second query performance for billions of daily events (~6 TB/day) on a single, vertically scaled instance.
- ClickHouse's TTL feature drastically simplified data retention and cleanup, eliminating weekend manual operations.
- Materialized views in ClickHouse reduced data pipeline modification time from two days to half a day.
- Native JSON support in ClickHouse was crucial for implementing custom events and flexible analytics.
- The self-hosted, open-source nature of OpenReplay, powered by ClickHouse, offers customers full data control and governance.

Related Articles
Comments (0)
No comments yet. Be the first to comment!
