atoti.aggregates_cache module

class atoti.aggregates_cache.AggregatesCache(_cube_name, _set_capacity, _get_capacity)

The aggregates cache associated with a cube.

property capacity: int

Capacity of the cache.

It is the number of {location: measure} pairs of all the aggregates that can be stored.

A strictly negative value will disable caching.

A zero value will enable sharing but no caching. This means that queries will share their computations if they are executed at the same time, but the aggregated values will not be stored to be retrieved later.

Return type

int