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:  14765 views
Comments:  

Index re-creation

Rebuilding indexes

If a database crashes for some hardware or operating system reason, it is possible that some indexes may be marked as invalid during the database restart phase. The configuration parameter INDEXREC indicates when DB2 will attempt to rebuild invalid indexes.

INDEXREC is defined in both the database manager and database configuration files. There are three possible settings for this parameter:

  • SYSTEM: This value can only be specified in the database configuration file. When INDEXREC is set to this value, DB2 will look for the INDEXREC setting specified in the database manager configuration file and use this value.
  • ACCESS: Invalid indexes are rebuilt when the index is first accessed.
  • RESTART: Invalid indexes are rebuilt during a database restart.

9 of 12 | Previous | 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).

Try IBM PureSystems. No charge.