PROUTIL IDXDEACTIVATE
- Last Updated: February 11, 2026
- 2 minute read
- OpenEdge
- Version 13.0
- Documentation
PROUTIL IDXDEACTIVATE
Deactivates an active index or indexes for databases enabled for multi-tenancy or table partitioning.
Syntax
|
Parameters
- db-name
- Specifies the database containing the index or indexes being deactivated.
- table [owner-name.]table-name
- Specifies the table of the index or indexes being deactivated. Specify the owner name if tables in your database have more than one owner.
- index [owner-name.]table-name.index-name
- Specifies the index being deactivated. Specify the owner name if tables in your database have more than one owner.
- tenant tenant-name
- Specifies that the IDXDEACTIVATE operation is to be performed only on the index partitions of tenant-name. If tenant-name does not own
any partition of the specified indexes, IDXDEACTIVATE exits with an error. Specifying
tenantis only allowed on databases enabled for multi-tenancy. - group group-name
- Specifies that the IDXDEACTIVATE operation is to be performed only on the index partitions of group-name. If group-name does not own
any partition of the specified indexes, IDXDEACTIVATE exits with an error. Specifying
groupis only allowed on databases enabled for multi-tenancy. - partition partition-name
- Specifies that the IDXDEACTIVATE operation is to be performed only on the partition partition-name. If the partition named
partition-name does not exist for the specified table, or the index
specified is not a local index, IDXDEACTIVATE exits with an error. Specifying
partitionis only allowed on databases enabled for table partitioning. - composite initial
- Specifies that the IDXDEACTIVATE operation is to be performed only on the composite initial partition. If the composite initial partition does
not exist for the specified table, or the index specified is not a local index,
IDXDEACTIVATE exits with an error. Specifying
composite initialis only allowed on databases enabled for table partitioning.
IDXDEACTIVATE deactivates single or multiple indexes.
For multi-tenant tables:
- If you specify a table with the
tableparameter, you must specify a tenant or group, and all indexes of the tenant or group, except the primary index, are deactivated. - If you specify an index with the
indexparameter, you must specify a tenant or group, and only that specific index partition is deactivated.
For table-partitioned tables:
- If you specify a table with the
tableparameter, you must specify a named partition or the composite initial partition. All local indexes of the partition, except the primary index, are deactivated. - If you specify an index with the
indexparameter, and you specify a named partition or the composite initial partition, the index must be a local index, and only that specific index partition is deactivated. - If you specify and index with the
indexparameter, and you do not specify a named partition or the composite initial partition, the index must be a global index, and that specific index is deactivated.
Notes
- IDXDEACTIVATE works for both online and offline databases.