UseDeduplication: Boolean;
The UseDeduplication property determines whether time series database supports deduplication.
Deduplication is executed on creating a matrix and is supported for rows and numeric values.
After deduplication, only different rows are stored in the matrix. Several matrix nodes can refer to one row. This reduces the size of the created matrix.
Available values:
True. Deduplication is used.
False. Deduplication is not used.
Executing the example requires that the repository contains a time series database with the TSDB_DATA identifier.
To execute the example, add links to the Cubes, Metabase system assemblies.
Sub UserProc;
Var
mb: IMetabase;
TSDB: IRubricator;
Begin
// Get current repository
mb := MetabaseClass.Active;
// Get time series database
TSDB := mb.ItemById("TSDB_DATA").Edit As IRubricator;
// Determine that deduplication is used on matrix creating
TSDB.UseDeduplication := True;
// Specify that use duplication of series attribute values
TSDB.UseDuplication := True;
// Save changes
(TSDB As IMetabaseObject).Save;
End Sub UserProc;
After executing the example deduplication is used on creating a matrix, and duplication of series attribute values is used for time series database.
See also: