Managing tablespaces and tables
A database tablespace consists of tablespace containers. Within those tablespace containers are the database tables that consume the space assigned to that tablespace. Depending on your database management needs, you can work with the tablespaces in your databases.
You can use PATROL for DB2 UDB to create a new tablespace or quiesce a tablespace. You can also disable or enable discovery of tablespaces from the database icon menu, which resets the discovery option set for tablespaces in the SETUP menu.
Table management tasks include reorganizing tables, running statistics on a table, and running the import, export, and load utilities.
To manage tablespaces
- Right-click on the DB2 database icon and select Database Administration > Tablespace Mgmt.
- select one of the following commands from the submenu:
- Tablespace Discovery
- Create Tablespace
- List Tablespaces
- List Tablespace Containers
- Quiesce Tablespaces
To add containers and configure tablespace recovery for a tablespace
Right-click on a tablespace object icon and select one of the following commands to manage the tablespace containers:
- Add Tablespace Container
- Config PctPagesUsed Recovery
- List Tablespace Containers
To manage tables in a database
- Right-click the DB2 database icon and select Database Administration > Table Mgmt.
- select one of the following commands to manage tables:
- List Tables
- Reorganize Check
- Reorganize Table
- Run Statistics
- Import Data
- Export Data
- Load Data