Switching table spaces from offline to online
The SWITCH ONLINE clause of the ALTER TABLESPACE statement can be used to remove the OFFLINE state from a table space if the containers associated with that table space are accessible.
Procedure
To remove the OFFLINE state from a table space using the
command line, enter:
db2 ALTER TABLESPACE name
SWITCH ONLINEAlternatively, disconnect all applications from the database and then to have the applications connect to the database again. This removes the OFFLINE state from the table space.
Results
The table space has the OFFLINE state removed while the rest of the database is still up and being used.