ArcObjects Library Reference (GeoDatabase)  

IFeatureWorkspaceManage.AnalyzeIndex Method

Analyze the index to generate DBMS statistics.

[Visual Basic .NET]
Public Sub AnalyzeIndex ( _
    ByVal TableName As String, _
    ByVal Index As String _
)
[C#]
public void AnalyzeIndex (
    string TableName,
    string Index
);
[C++]
HRESULT AnalyzeIndex(
  BSTR TableName,
  BSTR Index
);
[C++]

Parameters

TableName [in]   TableName is a parameter of type BSTR Index [in]   Index is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The AnalyzeTable and AnalyzeIndex methods can be used to acquire DBMS statistics on tables and table indexes. Having up-to-date statistics on a table is key to efficient query performance on the table and a key requirement for efficient queries against versioned tables. Note that datasets that are based on tables support the IDatasetAnalyze method; to analyze all of the tables in a feature dataset, use the IDatasetAnalyze::Analyze method on the feature dataset.

See Also

IFeatureWorkspaceManage Interface