Before you start
This is the sixth in a series of seven tutorials that you can use to help prepare for the DB2 9 for Linux, UNIX, and Windows Database Administration Certification Exam. This tutorial, combined with Part 7, High availability: Split mirroring and high-availability disaster recovery, covers the objectives in the section of the exam entitled "High Availability."
If you are preparing to take the DB2 DBA certification exam 731, you've come to the right place -- a study hall, of sorts. This series of seven DB2 certification preparation tutorials covers the major concepts you'll need to know for the test. Do your homework here and ease the stress on test day.
This tutorial discusses database backup and recovery topics. It explains the different methods of database recovery and logging, and how to use the BACKUP, RESTORE, ROLLFORWARD, and RECOVER commands. It also covers the new DATABASE REBUILD operation. This is the sixth tutorial in a series of seven tutorials to help you prepare for the DB2 V9 for Linux, UNIX, and Windows; Database Administration Certification (Exam 731). The material in this tutorial primarily covers the objectives in Section 6 of the exam, "High availability." You can view these objectives at: http://www-03.ibm.com/certify/tests/obj731.shtml.
The remaining high availability topics are covered in Part 7, High availability: Split mirroring and HADR.
After completing this tutorial, you should be able to:
- Understand the recovery methods available with DB2
- Understand the transaction logs and the different types of logs available
- Understand the types of logging methods that can be used
- Perform
BACKUPoperations - Perform
RESTOREoperations - Perform
ROLLFORWARDoperations - Perform
RECOVERoperations - Perform
DATABASE REBUILDoperations - Understand index re-creation issues
To understand the material presented in this tutorial you should be familiar with:
- The DB2 environment (database manager configuration files, database configuration files, DB2 registry variables, and so on)
- Use of the command line processor and DB2 GUI tools to invoke DB2 commands
- The different DB2 objects, such as buffer pools, tablespaces, tables, and indexes
- Basic SQL operations that can be performed against a database (
UPDATE,INSERT,DELETE, andSELECTSQL statements)
You should also be familiar with the following terms:
- Object: Anything in a database that can be created or manipulated with SQL (for example, tables, views, indexes, packages).
- Table: A logical structure that is used to present data as a collection of unordered rows with a fixed number of columns. Each column contains a set of values, each value of the same data type (or a subtype of the column's data type); the definitions of the columns make up the table structure, and the rows contain the actual table data.
- Record: The storage representation of a row in a table.
- Field: The storage representation of a column in a table.
- Value: A specific data item that can be found at each intersection of a row and column in a database table.
- Structured Query Language (SQL): A standardized language used to define objects and manipulate data in a relational database. (For more on SQL, see the fourth tutorial in this series.
- DB2 optimizer: A component of the SQL precompiler that chooses an access plan for a Data Manipulation Language (DML) SQL statement by modeling the execution cost of several alternative access plans and choosing the one with the minimal estimated cost.
To take the DB2 9 DBA exam, you must have already passed the DB2 9 Fundamentals exam 730. We recommend that you take the DB2 Fundamentals tutorial series before starting this series.
Although not all materials discussed in the Fundamentals tutorial series are required to understand the concepts described in this tutorial, you should at least have a basic knowledge of:
- DB2 products
- DB2 tools
- DB2 instances
- Databases
- Database objects
You do not need a copy of DB2 to complete this tutorial. However, you will get more out of the tutorial if you download the free trial version of IBM DB2 9 to work along with this tutorial.




