Db2

 View Only

Prevent database outages with High Availability Disaster Recovery in DB2

By Rahul Kumar posted Fri December 09, 2022 06:18 AM

  

Introduction


DB2 High Availability Disaster Recovery - DB2 High Availability Disaster Recovery (HADR) is a DB2 feature that provides a high-availability solution for database site failures by replicating database changes from a source database (primary) to a target database (standby). HADR protects against data loss by shipping log data from the primary database to the standby database and by constantly applying the log data to the standby site using roll forward. In case of critical hardware, network, or software failure in the primary site, the standby site can take over the database server operations much faster than the time it would take to repair the failure on the primary site. There are other high-availability solutions you can use with DB2, but DB2 HADR is a feature completely contained within DB2 itself, so it does not require any additional hardware or software solution.
Note: Starting with DB2 9.7.1, DB2 supports read operations against standby databases. This can be a great performance benefit, because users can shift the read-only workload to the standby database directly, freeing up cycles in the primary database. 

Data Studio and Optim Database Administrator - IBM Data Studio is the complimentary tooling available with your database license that provides basic database administration and database development capabilities for DB2 (and, to some extent, Informix® Dynamic Database). As of DB2 9.5, Data Studio replaced older tools, including Developer Workbench. Data Studio also provides some of the basic capabilities of DB2 Control Center. Along with capabilities to test, debug, and deploy routines, including stored procedures and user-defined functions, Data Studio also includes the following key database and object management capabilities:
  • Manage DB2 instances (start and stop, quiesce, configure parameters)
  • Manage and recover databases
  • Connect to DB2 or Informix data sources and browse data objects and their properties
  • Use editors and wizards to create and alter data objects
  • Modify privileges for data objects and authorization IDs
  • Drop data objects from databases
  • Analyze the impact of changes
  • Manage data in tables, including reorganizing, importing, and exporting
  • Backup and recover data
  • Use data diagrams to visualize and print the relationships among data objects
  • Import and export database connections
  • Configure automatic maintenance and logging
  • Rebind packages
  • Get index advice on single queries (stand-alone package only)
  • Configure pureScale members (stand-alone package only)
Data Studio comes in both an integrated development environment (IDE) package and a stand-alone package. The stand-alone package has a lighter footprint, and it contains everything you need for this tutorial. You can also use Optim Database Administrator, which is a priced offering that includes advanced features for managing complex database schema changes. Additional features included in Optim Database Administrator include:
  • Copying and pasting database objects and data
  • Generating schema change reports
  • Exporting administration and change scripts as Command Line Processor (CLP) scripts
  • Generating undo scripts
For this tutorial, you can use either Data Studio or Optim Database Administrator.

Download the full report for more on preventing database outages with High Availability Disaster Recovery in DB2.
Download the report to get started!


#Db2
0 comments
2 views

Permalink