How I can rebuild index in DB2 9.7 LUW. Is there any rebuild utility for index or I have to recreate index.
Regards,
Masheed
How I can rebuild index in DB2 9.7 LUW. Is there any rebuild utility for index or I have to recreate index.
Regards,
Masheed
You can use REORG command to recreate ALL INDEXES on a table like this:
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.