Help Center/ GaussDB/ Centralized_3.x/ Partitioned Table/ Partitioned Table O&M Management/ Invalidating/Rebuilding Indexes of a Partition
Updated on 2024-05-20 GMT+08:00

Invalidating/Rebuilding Indexes of a Partition

You can run commands to invalidate or rebuild a partitioned index or an index partition. In this case, the index or index partition is no longer maintained. You can rebuild a partitioned index to restore the index function.

In addition, some partition-level DDL operations also invalidate global indexes, including DROP, EXCHANGE, TRUNCATE, SPLIT, and MERGE. You can use the UPDATE GLOBAL INDEX clause to update the global index synchronously. Otherwise, you need to rebuild the index.