Troubleshooting Guide

Chapter 2. Troubleshooting the DB2 Universal Database Server

This chapter presents troubleshooting tips for the database administrator of these DB2 Universal Database products:

It is beyond the scope of this book to cover all aspects of problem determination on a DB2 server. See the information in the DB2 library to find out more about operations required of DB2 administrators. For more information on administering databases, see:

The Administration Guide can help you with the following tasks:

The following list provides some basic troubleshooting rules that you should follow:

[  ]
Spend time designing a logical database that meets your requirements and a physical database that will be adequate for future demands. Use SMS or DMS table spaces as appropriate.

[  ]
Always ensure that you have a well-tested backup and recovery plan. If you encounter serious problems, you may need to restore a backup image of your database and recover transactions through the ROLL FORWARD command.

[  ]
User-defined functions and stored procedures should be fenced, unless performance is critical and they have been thoroughly tested and debugged.

[  ]
To ensure optimal performance of your database, regularly run utilities such as REORGCHK, REORG, and RUNSTATS. (See Improving Database Performance.)

[  ]
Consult the db2diag.log file if you suspect problems, and remember to prune this file occasionally when it gets too big. (See Interpreting the db2diag.log.)


[ Top of Page | Previous Page | Next Page ]