June 2018
Intermediate to advanced
478 pages
10h 52m
English
For automatic storage tablespaces, you can use the ALTER TABLESPACE statement with the REDUCE MAX clause to release all of the unused space and reduce the high-water mark. This eliminates the process of running db2dart, dropping and recreating objects, and exporting and importing the data. The SQL statement is as follows:
ALTER TABLESPACE USERSPACE1 REDUCE MAX;
The REDUCE MAX clause is not supported in pureScale. For the Db2 pureScale environment, use ADMIN_MOVE_TABLE (), which is covered in detail later in this chapter.
Read now
Unlock full access