Enabling near real-time updates for dynamic cubes
To enable near real-time updates, you must add
a nullable transaction ID (TID) column to each fact table.
Before you begin
Before you load fact data to a dynamic cube, you insert new rows into the fact tables in the data source. New rows for near real-time updates must adhere to the following rules:
- Each insert transaction must use a TID value greater than any previous transaction.
- All rows can use the same TID value within a single transaction.
Procedure
Results
When you start a published dynamic cube, the query service performs the following tasks:
- Checks for the highest TID value and uses it for the initial load.
In the example fact table in step 1, there are rows of initial fact data with null TID values, and rows of updates for two increments with TID values 1 and 2. In this case, the query service uses the TID value 2 for the initial load.
- Loads the aggregate cache and query data cache with aggregate table and fact data based on the initial load state.