AutoUpdateStat: Boolean;
AutoUpdateStat: boolean;
The AutoUpdateStat property determines whether statistics must be collected and index fragmentation must be estimated on executing operations with data of time series database.
Available property values:
True. Default value. Statistics are collected during operations with data. Data of the time series database is processed slower.
False. Statistics are not collected on operations with data.
Executing the example requires a time series database with the FC identifier. Add links to the Metabase and Cubes system assemblies.
Sub UserProc;
Var
mb: IMetabase;
Rub: IRubricator;
Begin
mb := MetabaseClass.Active;
Rub := mb.ItemById("FC").Edit As IRubricator;
Rub.AutoUpdateStat := False;
(Rub As IMetabaseObject).Save;
End Sub UserProc;
After executing the example statistics collection is disabled for the FC time series database FC.
Executing the example requires a time series database with the FC identifier.
Imports Prognoz.Platform.Interop.Cubes;
…
[STAThread]
Public Shared Sub Main(Params: StartParams);
Var
mb: IMetabase;
Rub: IRubricator;
Begin
mb := Params.Metabase;
Rub := mb.ItemById["FC"].Edit() As IRubricator;
Rub.AutoUpdateStat := False;
(Rub As IMetabaseObject).Save();
End Sub;
After executing the example statistics collection is disabled for the FC time series database.
See also: