IRubricator.AutoUpdateStat

Fore Syntax

AutoUpdateStat: Boolean;

Fore.NET Syntax

AutoUpdateStat: boolean;

Description

The AutoUpdateStat property determines whether statistics must be collected and index fragmentation must be estimated on executing operations with data of time series database.

Comments

Available property values:

Fore Example

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.

Fore.NET Example

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:

IRubricator