Note Run nCompact -B with an uppercase B, not a lowercase b.
Running DB2DART/LHWM to obtain reorg options
You can run DB2DART /LHWM on the tablespace containing the DB2 enabled Notes database to obtain details as to what the most efficient DB2 reorg options are for consolidating your data so that the high water mark (HWM) can be lowered. Lowering the HWM allows you to reduce the size of the tablespace from the DB2 Control Center.
To run the command to list tablespaces, as well as other DB2 commands similar to this one, before entering the command you must connect to the first DB2 database that was created. For example, if that DB2 database is named DOMINO, you would enter one of these commands according to whether you need to enter a user name and password:
db2 connect to database DOMINO user UserId
db2 connect to database DOMINO user UserId using Password
To generate a list of tablespace IDs required for DB2DART, from the DB2 CLP, run
Running statistics to optimize performance
To optimize performance, run statistics on your most volatile databases daily, and run statistics on your largest databases on weekends.
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 one or more tables on which you want to run statistics.
5. Right click the mouse, and then choose Run Statistics. The Run Statistics dialog box appears.
7. Click OK.
Related topics