There are a few basic things you can do to manage the capacity of a database. This section describes how to:
To check the amount of space available in a DMS table space:
You can customize the order of the columns and which columns are displayed by using the Customize Columns push button.
To check the amount of space available in an SMS table space, use the facilities provided by your operating system to monitor space usage and to ensure that available room in the directory for the table space is not exhausted.
The previous section describes how to check the capacity of a DMS table space. Capacity for a DMS table space is the total size of containers allocated to the table space. When a DMS table space reaches capacity (depending on the usage of the table space, 90% is a possible threshold), you should add more space to it. The database manager will automatically re-balance the tables in the DMS table space across all available containers. During re-balancing, data in the table space remains accessible.
The strategy is different for DMS and SMS table spaces. For a DMS table space that has reached its capacity, you can add another container, as follows:
In general, you cannot extend the size of an SMS table space very easily because SMS capacity depends on the space available in the file system and the maximum size of the file supported by the operating system. However, depending on your operating system, you may be able to increase the size of a file system using the operating system facilities. For an SMS table space on a UNIX-based system, you can increase the size of the table spaces by using the appropriate UNIX-based system commands. See the documentation for the UNIX-based system you are running. If the file system containing the SMS table space also contains non-DB2 files, you may be able to move these files to another file system, thus making more room available in the file system for DB2's use. You can also perform a redirected restore which involves restoring a table space into a larger number of containers than it was backed up from. See the Administration Guide for more information about redirected restores. You can perform a redirected restore from the Restore Database notebook (from the database you want to restore, select Restore -> Database from the pop-up menu).