Altering table spaces
Use the ALTER TABLESPACE statement to change the description of a table space at the current server.
About this task
For partition-by-range and partition-by-growth table spaces, most attributes can be changed with ALTER TABLESPACE statements, often through pending definition changes.
Pending definition changes are changes that are not immediately materialized. For detailed information about pending definition changes, how to materialize them, and related restrictions, see Pending data definition changes
Immediate definition changes are changes that are materialized immediately. Most immediate definition changes are restricted while pending definition changes exist for an object. For a list of such restrictions, see Restrictions for pending data definition changes.
However, depending on the type of table space and the attributes that you want to change, you might instead need to drop the table space, and create it again with the new attributes. Many fewer types of changes are supported by ALTER TABLESPACE statements for the deprecated non-UTS table space types. In such cases, it is best to first convert the table space to a partition-by-range or partition-by-growth table space first and then use ALTER TABLESPACE statements with pending definition changes to make the changes.
Procedure
To change the attributes of a table space, use any of the following approaches:
What to do next
When ready, materialize any pending definition changes, as described in Materializing pending definition changes.
You can also use the DROP PENDING CHANGES clause to drop all pending definition changes for the table space and for any of the objects in the table space.