DefaultDwarf: Boolean;
DefaultDwarf: boolean;
The DefaultDwarf property determines whether to use optimization on loading time series database data to memory.
Available values:
True. Optimization is used. Less RAM space is used when loading data.
False. Optimization is not used.
Executing the example requires that the repository contains a time series database with the FC identifier. Add links to the Metabase and Cubes system assemblies.
Sub UserProc;
Var
mb: IMetabase;
Rubr: IRubricator;
Begin
mb := MetabaseClass.Active;
Rubr := mb.ItemById("FC").Edit As IRubricator;
If Not Rubr.DefaultDwarf Then
Rubr.DefaultDwarf := True;
(Rubr As IMetabaseObject).Save;
End If;
End Sub UserProc;
Time series database uses optimization while loading the data to the memory after example execution.
Executing the example requires that the repository contains a time series database with the FC identifier.
Imports Prognoz.Platform.Interop.Cubes;
…
[STAThread]
Public Shared Sub Main(Params: StartParams);
Var
mb: IMetabase;
Rubr: IRubricator;
Begin
mb := Params.Metabase;
Rubr := mb.ItemById["FC"].Edit() As IRubricator;
If Not Rubr.DefaultDwarf Then
Rubr.DefaultDwarf := True;
(Rubr As IMetabaseObject).Save();
End If;
End Sub;
After executing the example the time series database uses optimization on loading data to memory.
See also: