resume and time options for reorganizing large tables

Use the resume and time options of the reorg command when reorganizing an entire table would take too long and interfere with other database activities. time allows you to run a reorg for a specified length of time. resume allows you to start a reorg at the point in a table where the previous reorg left off. In combination, the two options allow you to reorganize a large table by running a series of partial reorganizations (for example, during off-hours).

resume and time not available with reorg rebuild.

Syntax for using resume and time in reorg commands

The syntax for resume and time is:

reorg reclaim_space tablename [indexname] 
     [with {resume, time = no_of_minutes}]
reorg forwarded_rows tablename 
     [with {resume, time = no_of_minutes}]
reorg compact tablename 
     [with {resume, time = no_of_minutes}]

The following considerations apply: