Updated on 2024-05-20 GMT+08:00

Invalidating/Rebuilding Indexes

You can run ALTER INDEX to invalidate or rebuild indexes.

For example, if the range_sales_idx index exists in the range_sales partitioned table, run the following command to invalidate the index:
ALTER INDEX range_sales_idx UNUSABLE;
Run the following command to rebuild the range_sales_idx index:
ALTER INDEX range_sales_idx REBUILD;