Running reorg on tables and indexes

The reorg command can improve performance for data-only-locked tables by improving the space utilization for tables and indexes. The reorg subcommands and their uses are:

When you run reorg rebuild on a table, and the table is locked for the entire time it takes to rebuild the table and its indexes. Schedule the reorg rebuild command on a table when users do not need access to the table.

All of the other reorg commands, including reorg rebuild on an index, lock a small number of pages at a time, and use short, independent transactions to perform their work. You can run these commands at any time. The only negative effect might be on systems that are very I/O bound.

For more information on running reorg commands, see Chapter 9, “Using the reorg Command” in System Administration Guide: Volume 2.