If you think setting up an OLAP cache requires a massive infrastructure overhaul, think again. Simon Späti breaks down exactly how to leverage DuckDB community extensions to dramatically accelerate your dashboards with almost zero setup cost. A perfect example of how lightweight tools can solve heavy data problems.
OLAP isn't dead, right? 😉 Not to me, it hasn't been more alive than now. But what if OLAP itself isn't fast enough, or you use DuckDB and want to speed up caching, do you need a full-fledged OLAP system with re-investing all your analytics data? Maybe not. I went through OLAP caches for DuckDB in my recent deep dive and uncovered ways of simply adding two lines of code with community extensions: ``` SET GLOBAL cache_path = '/tmp/my_duckdb_cache.bin'; SET GLOBAL cache_enabled = true; ``` And you are good to go. Instant speed up with almost no setup cost. Have you tried it already? In this piece, I also elaborate on «The History of Caching BI Workloads» and the «Different Levels and Kinds of Caches» we have and are using today. Furthermore, I explore the typical obstacles when building a cache yourself. If that interests you, please read the attached essay with practical examples you can try out immediately. I hope you enjoy.