REORG TABLE

The REORG TABLE statement compresses the data associated with the specified table.

Invocation

This statement can be used in an application program using the DB2 CLI functions or issued through the CLP.

Syntax

>>-REORG TABLE--table-name--+------------+---------------------><
                            '-int1--int2-'
 
 

Description

REORG TABLE table-name
Identifies the table of the reorganization operation. The name must identify an existing table.
int1
The optional minimal percentage of bytes that need to be recovered.
int2
The minimal number of bytes that need to be recovered for the table compression to be executed.

Rules

Notes

Examples

The VNNURSE table is compressed using the default values.

REORG TABLE VNNURSE 
       

Související odkazy