Help Center/
GaussDB/
Feature Guide(Distributed_3.x)/
Partitioned Table/
Partitioned Table O&M Management/
Invalidating/Rebuilding Indexes of a Partition/
Invalidating/Rebuilding Indexes
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;
Parent topic: Invalidating/Rebuilding Indexes of a Partition
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot