Book Image

IBM Db2 11.1 Certification Guide

By : Robert (Kent) Collins, Mohankumar Saraswatipura
Book Image

IBM Db2 11.1 Certification Guide

By: Robert (Kent) Collins, Mohankumar Saraswatipura

Overview of this book

IBM Db2 is a relational database management system (RDBMS) that helps you store, analyze, and retrieve data efficiently. This comprehensive book is designed to help you master all aspects of IBM Db2 database administration and prepare you to take and pass IBM's Certification Exams C2090-600. Building on years of extensive experience, the authors take you through all areas covered by the test. The book delves deep into each certification topic: Db2 server management, physical design, business rules implementation, activity monitoring, utilities, high availability, and security. IBM Db2 11.1 Certification Guide provides you with more than 150 practice questions and answers, simulating real certification examination questions. Each chapter includes an extensive set of practice questions along with carefully explained answers. This book will not just prepare you for the C2090-600 exam but also help you troubleshoot day-to-day database administration challenges.
Table of Contents (10 chapters)

A word about the db2relocatedb command

The relocate database command (db2relocatedb) is handy for renaming a database or for relocating database table space containers, database log directories, and storage paths. You must deactivate the target database before running the db2relocatedb command to modify the metadata and associated control files.

The command syntax is as follows:

db2relocatedb -f [ConfigFileName]

Take a look at the following commands from the preceding query:

  • ConfigFileName: This command specifies the name of the file containing the configuration information required for database relocation
  • db2relocatedb: This command allows you to change various database characteristics, including:
  • The database name
  • The database path
  • The instance associated with the database
  • Each node database name in a DPF environment
  • The active log path associated with the database (newlogpath...