ArcObjects Library Reference (DataSourcesGDB)  

IDataServerManagerAdmin.Analyze Method

Updates the statistics for a Geodatabase.

[Visual Basic .NET]
Public Sub Analyze ( _
    ByVal gdbName As String _
)
[C#]
public void Analyze (
    string gdbName
);
[C++]
HRESULT Analyze(
  BSTR gdbName
);
[C++]

Parameters

gdbName [in]   gdbName is a parameter of type BSTR

Product Availability

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

Description

This method performs an analyze operation on the specified Geodatabase which updates all index statistics.

Remarks

Perform this periodically as a regular maintenance operation.  Over time index statistics can become stale, especially in a heavily edited Geodatabase.  Updating statistics can improve query performance.

See Also

IDataServerManagerAdmin Interface