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 are not available with reorg rebuild.

Syntax for using resume and time in reorg commands

The syntax for resume and time is:

reorg forwarded_rows table_name partition partition_name 
	[with {resume, time = no_of_minutes}]

reorg reclaim_space table_name [index_name] partition partition_name
	with {resume, time = no_of_minutes}]

reorg compact table_name partition partition_name
	with {resume, time = no_of_minutes}]

The following considerations apply: