Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 DB2 9.7 LUW 中重建索引。是否有任何用于索引的重建实用程序,或者我必须重新创建索引。
问候,
捣碎
您可以使用 REORG 命令在这样的表上重新创建所有索引:
REORG INDEXES ALL FOR TABLE table1 ALLOW WRITE ACCESS CLEANUP ALL RECLAIM EXTENTS
There is no index rebuild utility in DB2 for Linux, UNIX and Windows. You just have to drop / recreate the index.