IBM Books

Troubleshooting Guide


Chapter 2. Troubleshooting the DB2 Universal Database Server

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

For more information on administering databases, see:

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 (especially the Administration Guide) to find out more about operations required of DB2 administrators. Typical operations include:

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 backup/recovery plan. If you encounter serious problems, you may need a backup to restore your database and perhaps roll it forward.

[  ]
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 File".)


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]