Maintenance of Global Partitioned Indexes

tsinglee發表於2008-04-09

By default, the following operations on partitions on a heap-organized table mark all
global indexes as unusable:
ADD (HASH)
COALESCE (HASH)
DROP
EXCHANGE
MERGE
MOVE
SPLIT
TRUNCATE

These indexes can be maintained by appending the clause UPDATE INDEXES to the
SQL statements for the operation. The two advantages to maintaining global indexes:
■ The index remains available and online throughout the operation. Hence no other
applications are affected by this operation.
■ The index doesn't have to be rebuilt after the operation.
Example: ALTER TABLE DROP PARTITION P1 UPDATE INDEXES;

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-1002167/,如需轉載,請註明出處,否則將追究法律責任。

相關文章