IRubricator.RunIndexDefrag

Syntax

RunIndexDefrag;

Description

The RunIndexDefrag method defragments table indexes, on which the time series database is based.

Example

Executing the example requires that the repository contains a time series database with the FC identifier. Add links to the Metabase, Cubes system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Rub: IRubricator;
Begin
    MB := MetabaseClass.Active;
    Rub := MB.ItemById("FC").Bind As IRubricator;
    Rub.RunIndexDefrag;
End Sub UserProc;

After executing the example indexes of the table, which the time series database is based on will be defragmented.

See also:

IRubricator