Running reorg defrag

reorg defrag executes multiple reorganization transactions one right after the other, compared with traditional reorg, which reorganizes the entire table data in a single transaction. You can specify a time interval during which it reorganizes the data. This allows other processes to run concurrently without affecting reorganization.

Syntax:

reorg defrag table_name [partition {partition_list}]
   [with {time = hh:mm| resume | skip_compact_extents [= pct_value]}]

where:

Examples:

In the following examples, 'partition list' is the list of data partitions specified in the command or if none specified, the list of all existing data partitions in the table.

For every 10% of a partition processed, this information appears:
Examined n allocation unit(s). Processed x pages out of y 
data pages. z% completed, resulting in p% space compaction.
At the end of processing each partition, the time elapsed in the current invocation is printed as:
Elapsed time 1m : 56s : 623ms.
Related concepts
reorg