cube-js/cube

How one can disable cache or preaggregation for large datasets?

Open

#5341 opened on Sep 22, 2022

View on GitHub
 (2 comments) (2 reactions) (0 assignees)Rust (19,563 stars) (1,965 forks)batch import
help wanted

Description

Problem

Sometimes users can run smth like 'Select many dimensions and metrics for long period ". When it happens, huge portion of data is added to memory cache (we are still using redis, but I think problem will remain after adding cube store).

How can we disable adding result of query to cache by its size (e.g. limit 30 mb)? For us it's cheaper to make roundrip to db)

Contributor guide