Caching Cube provides a powerful caching layer through pre-aggregations — materialized rollup tables that dramatically accelerate query performance and reduce data warehouse costs.Documentation Index
Fetch the complete documentation index at: https://cubed3-docs-cub-2416-update-semantic-snowflake-semantic-vie.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
How it works
Define pre-aggregations
Specify rollup tables in your data model with the measures and dimensions to cache.
Cube builds the cache
Cube queries your data warehouse and stores results in Cube Store, a purpose-built caching engine.
Queries are served from cache
When a query matches a pre-aggregation, Cube serves it from the cache instead of hitting the warehouse.
Defining pre-aggregations
Add pre-aggregations to your cube definitions:Refresh strategy
Control how often pre-aggregations are rebuilt:Benefits
- 10-100x faster queries compared to hitting the warehouse directly
- Reduced warehouse costs by minimizing direct queries
- Consistent performance regardless of data volume
- Automatic query routing — no changes needed in your application code