This document is archived and information here might be outdated. Recommended version. |
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
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.