Documentation Index
Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Aggregate Tables allow to query a table containing pre-aggregated data rather than having to run expensive aggregation queries on the remote database. This can improve the startup time of while also lowering compute-related costs on the database.Configuration
You can enable aggregate tables with thedirectquery.aggregate-tables configuration properties.
will need to know the name of the remote database table to use for each aggregate provider of each cube. The aggregate provider configuration can be found in the DirectQueryAggregateProviderConfig configuration class. You can use an aggregate table for one or all aggregate providers within .
Below is an example configuration for the default aggregate providers:
Generating Aggregate Tables
Aggregate tables can be generated at runtime using theDirectQuery REST Service. Refer to the service for full details on how to generate SQL queries to define and populate the aggregate tables.
Usage
To use aggregate tables, simplyenable the aggregate-tables functionality through the enable property: