Home / Companies / Cube / Blog / Post Details
Content Deep Dive

Optimize Cube Performance with Pre-Aggregations

Blog post from Cube

Post Details
Company
Date Published
Author
Artyom Keydunov
Word Count
845
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

Cube is an advanced data analysis tool that utilizes pre-aggregations to improve query performance by storing aggregated data in a database during runtime, eliminating the need to organize and transform data before using it with Cube. Pre-aggregations are materialized query results persisted as tables, which can speed up response times by hundreds or thousands of times. To use pre-aggregations, Cube needs write access to the stb_pre_aggregations schema, and it takes care of keeping pre-aggregation up-to-date through refresh checks. By adding a pre-aggregation layer, queries can be significantly sped up, with an example demonstrating a 1,300-fold reduction in response time. Additionally, Cube allows for custom refresh check strategies using the refreshKey option and supports features such as partitioning by time to reduce refresh time and cost.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.