Stabilising a healthcare SaaS analytics platform by untangling heavy materialised view dependencies that were causing performance, reliability and cost issues.
Our client operates a SaaS platform serving independent medical practices in the United States, providing practice management, billing and clinical workflow tools to thousands of providers.
Their ClickHouse based data warehouse underpins reporting and analytics across the product. Over time, the team had leaned heavily on materialised views as the primary mechanism for shaping data for downstream consumers.
Whilst materialised views are a powerful feature of ClickHouse, the platform had reached a point where the volume, depth and interdependency of those views was actively causing significant performance, reliability and operational issues.
The customer were experiencing the following challenges prior to the engagement:
We took the following approach to this project:
Key outcomes of the project included: