There is a SaaS technology for collecting, analyzing, and optimizing advertising campaigns.
The customer asked us to optimize long queries to the database, that affected the user's experience with the service.
To solve this problem, we adapted existing queries, moved existing data to the ClickHouse database, and created a script for importing data from MariaDB. Thanks to this, our team was able to significantly increase the speed of obtaining data used in displaying statistics in the interface of the system.