Rebuild Indexes (Data Management Tools)
Summary
Rebuilds existing attribute or spatial indexes in an enterprise geodatabase. Indexes can also be rebuilt on states and state_lineage geodatabase system tables and the delta tables of datasets that are registered to participate in traditional versioning. Out-of-date indexes can lead to poor query performance.
Usage
Data must be from a database or an enterprise geodatabase. This tool does not work with file geodatabases.
After data loading, deleting, updating, and compressing operations, it is important to rebuild indexes.
This tool rebuilds the attribute and spatial indexes of base tables, delta tables, and archive tables in versioned and archive-enabled geodatabases.
The Include System Tables parameter determines if indexes are rebuilt on the states and state lineages tables in the specified geodatabase. When the option is unselected, the indexes on these tables are not rebuilt. If the Include System Tables parameter is unchecked, at least one dataset needs to be selected in the Datasets to Rebuild Indexes For to run the tool.
This tool is not supported with SAP HANA.
This tool cannot be used to rebuild full-text indexes.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Database Connection |
The connection ( |
Workspace |
|
Include System Tables |
Specifies whether indexes will be rebuilt on the states and state lineages tables. Note:You must connect as the geodatabase administrator in the connection file you specified for the Input Database Connection parameter value. This option only applies to geodatabases. This option is ignored if you connect to a database.
|
Boolean |
|
Datasets to Rebuild Indexes For (Optional) |
Names of the datasets that will have their indexes rebuilt. Only datasets that are owned by the connected user are displayed. |
String |
|
Rebuild Delta Tables Only (Optional) |
Specifies how the indexes will be rebuilt on the selected datasets. This parameter has no effect when the Datasets to Rebuild Indexes For parameter value is unspecified. This option only applies to geodatabases. If the input workspace is a database, this parameter will be ignored.
|
Boolean |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Updated Workspace |
The updated workspace. |
Workspace |
Environments
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes