Analyze Datasets (Data Management)

ArcGIS Pro 3.4 | | Help archive

Summary

Updates database statistics of base tables, delta tables, and archive tables, along with the statistics on the indexes of those tables. This tool is used in enterprise geodatabases to help get optimal performance from the relational database management system (RDBMS) query optimizer. Stale statistics can affect geodatabase performance.

Usage

  • The input workspace must be a database or enterprise geodatabase. The Analyze Datasets tool does not work with file or mobile geodatabases.

  • After data loading, deleting, updating, and compressing operations, it is important to update RDBMS statistics in the database.

  • The Include System Tables parameter is used to determine whether the states and state lineage tables will be analyzed. These tables track traditional versions. When this parameter is not checked, the tables are not analyzed; when it's checked, the tables are analyzed.

  • This tool is not supported for use on SAP HANA.

Parameters

LabelExplanationData Type
Input Database Connection

The database that contains the data to be analyzed.

Workspace
Include System Tables

Specifies whether statistics will be gathered on the states and state lineages tables.

  • Unchecked—Statistics will not be gathered on the states and state lineages tables. This is the default.
  • Checked—Statistics will be gathered on the states and state lineages tables.
    Note:

    You must be the geodatabase administrator for this parameter to be active.

    This parameter only applies to geodatabases. If the input workspace is a database, this parameter will be inactive.

Boolean
Datasets to Analyze
(Optional)

The names of the datasets that will be analyzed. Only datasets that are owned by the connected user will be displayed.

String
Analyze Base Tables for Selected Dataset(s)
(Optional)

Specifies whether the selected dataset base tables will be analyzed.

Note:
This parameter only applies to geodatabases. If the input workspace is a database, this parameter will be inactive.

  • Checked—Statistics will be gathered for the base tables for the selected datasets. This is the default.
  • Unchecked—Statistics will not be gathered for the base tables for the selected datasets.
Boolean
Analyze Delta Tables for Selected Dataset(s)
(Optional)

Specifies whether the selected dataset delta tables will be analyzed.

Note:
This parameter only applies to geodatabases that contain traditional versions. If the input workspace is a database or does not participate in traditional versioning, this parameter will be inactive.

  • Checked—Statistics will be gathered for the delta tables for the selected datasets. This is the default.
  • Unchecked—Statistics will not be gathered for the delta tables for the selected datasets.
Boolean
Analyze Archive Tables for Selected Dataset(s)
(Optional)

Specifies whether the selected dataset archive tables will be analyzed.

Note:
This parameter only applies to geodatabases that contain archive-enabled datasets. If the input workspace is a database, this parameter will be inactive.

  • Checked—Statistics will be gathered for the archive tables for the selected datasets. This is the default.
  • Unchecked—Statistics will not be gathered for the archive tables for the selected datasets.
Boolean

Derived Output

LabelExplanationData Type
Updated Workspace

The updated workspace.

Workspace

Environments

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics