MAINTAINING THE DOMINO AND DB2 ENVIRONMENT


Controlling the NSF data in DB2
You can fine-tune the NSF data in IBM® DB2 Universal Database™ Enterprise Server Edition by reorganizing the data stored in tables in your NSF database. You can also run statistics to gather information about a database table so that the DB2 optimizer can make good decisions. The DB2 optimizer generates the Access Plan for resolving SQL statements.

Note Always coordinate with the Database Administrator as to when you should perform a REORG. REORGs are not typically done during business hours.

Reorganizing the data in a table

When you reorganize the data in a table, you are defragmenting that data.

1. Open the DB2 Control Center.

2. Click All Databases, and then locate the initial DB2 database you created. If you did not change the default database name, the name is DOMINO.

3. Open the database, and then click Tables.

4. Select the table you are going to reorganize, and then right click the mouse.

5. Click Reorganize. The Reorganize Tables dialog box appears. Use this dialog box to schedule the reorganization.

6. For optimum performance, choose these settings:


7. Click OK.

Related topics