Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

DB2 9 DBA exam 731 prep, Part 6: High availability: Backup and recovery

Sylvia Qi (sylviaq@ca.ibm.com), WebSphere Application Server Function Verification Tester, IBM Toronto Lab
Sylvia F. Qi works at the IBM Toronto Lab as a WebSphere Application Server function verification tester. Previously, Sylvia worked as a DB2 UDB Level 2 support engineer for six years. She has in-depth knowledge in all areas of DB2 UDB, and is an IBM certified DB2 UDB Administrator and Application Developer. Sylvia holds a bachelor of Computer Science degree from McGill University. She is an active contributing author of IBM developerWorks. Sylvia has recently co-authored the book Understanding DB2 - Learning Visually with Examples (ISBN 0131859161).
Raul Chong (rfchong@ca.ibm.com), DB2 Express Community Facilitator, IBM Toronto Lab
Raul F. Chong is a DB2 Express community facilitator at the IBM Toronto Lab. He recently assumed responsibility for building the DB2 Express community, helping members interact with one another and contributing to the forum. Raul holds a Bachelor of Science degree in Computer Science from the University of Toronto, and is a DB2 Certified Solutions Expert in both DB2 Administration and Application Development. Raul joined IBM in 1997. As a DB2 UDB consultant, Raul helped IBM business partners with migrations from other relational database management systems to DB2, and with database performance and application design issues. As a DB2 Technical support specialist, Raul helped resolve DB2 problems on the OS/390, z/OS, Linux, UNIX and Windows platforms. Raul has also worked as an information developer for the Application Development Solutions team, where he was responsible for the CLI guide and Web services material.

Summary:  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 first of a two-part discussion of high availability; Part 7 covers split mirroring and high-availability disaster recovery. This is the sixth in a series of seven tutorials to help you prepare for the DB2® 9 for Linux®, UNIX®, and Windows™ Database Administration (Exam 731).

View more content in this series

Date:  18 Jul 2006
Level:  Intermediate PDF:  A4 and Letter (313 KB | 48 pages)Get Adobe® Reader®

Activity:  13152 views
Comments:  

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."

About this series

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.


About this tutorial

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.


Objectives

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 BACKUP operations
  • Perform RESTORE operations
  • Perform ROLLFORWARD operations
  • Perform RECOVER operations
  • Perform DATABASE REBUILD operations
  • Understand index re-creation issues

Prerequisites

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, and SELECT SQL 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

System requirements

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.

1 of 12 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Information Management
ArticleID=146050
TutorialTitle=DB2 9 DBA exam 731 prep, Part 6: High availability: Backup and recovery
publish-date=07182006
author1-email=sylviaq@ca.ibm.com
author1-email-cc=
author2-email=rfchong@ca.ibm.com
author2-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Special offers