Data Guard 10 g New Features
Transcript of Data Guard 10 g New Features
-
8/13/2019 Data Guard 10 g New Features
1/25
-
8/13/2019 Data Guard 10 g New Features
2/25
Oracle Data Guard 10g Objectives
Establish Data Guard as an extremely
easy-to-use
low-cost
comprehensive
Disaster Recovery solution for
enterprise data
-
8/13/2019 Data Guard 10 g New Features
3/25
Overview of Objectives
Ease of usesimplified SQL, easy to create,
manage and administer standby databases,
simplified GUI focused on best practices
Low costbusinesses can leverage existing
resources to implement Data Guard, zero
integration costs
Comprehensivefeature-rich and flexible
-
8/13/2019 Data Guard 10 g New Features
4/25
Data Guard 10g New Features
General new features Real Time Apply
Flashback Database Integration
SQL Apply new features
Zero Downtime Instantiation
Rolling Upgrades
Additional Datatypes
Data Guard Broker & Enterprise Manager new features
RAC integration
Simplified browser-based interface focused on best practices
-
8/13/2019 Data Guard 10 g New Features
5/25
Real Time Apply
Redo data is applied to the standby database as soon as it isreceived from the primary database
In Oracle9iData Guard this apply has to wait till an archivelog iscreated on the standby database
For Redo Apply:ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USINGCURRENT LOGFILE
For SQL Apply:ALTER DATABASE START LOGICAL STANDBY APPLY IMMEDIATE
When real time apply is enabled, RECOVERY_MODEcolumn inV$ARCHIVE_DEST_STATUSdisplays MANAGED REAL TIMEAPPLY
-
8/13/2019 Data Guard 10 g New Features
6/25
An up-to-date
Physical/Logical
StandbyDatabase
MRP/ LSPRFS
StandbyRedo
Logs
ARCH
Real Time Apply Architecture
Archived
Redo Logs
Archived
Redo Logs
Primary
Database
Transactions
LGWR
Online
Redo
Logs
ARCH
Oracle Net
Real Time
Apply
-
8/13/2019 Data Guard 10 g New Features
7/25
Real Time Apply Benefits
Standby databases now more closely
synchronized with the primary
More up-to-date, real-time reporting
Faster switchover and failover times
Reduces planned and unplanned downtime
Better Recovery Time Objective (RTO) for DR
-
8/13/2019 Data Guard 10 g New Features
8/25
Existing Site Recovery Tradeoffs
Log apply may be delayed to protect from user errors but:
Switchover/Failover gets delayed Reports run on old data
After failing over to standby, production DB must be rebuilt
Primary Database Standby Database
RedoShipment
Delayed
Apply
Reporting on
delayed data
-
8/13/2019 Data Guard 10 g New Features
9/25
Flashback Database
A new strategy for point in time recovery Eliminate the need to restore a whole
database backup
Integrated seamlessly with RMAN
Think of it as a continuous backup
Restores just changedblocks
Its fast- recover in minutes, not hours
Its easy- single command restore
RMAN> FLASHBACK DATABASETIMESTAMP to_timestamp
('2003-08-15 16:00:00',
'YYYY-MM-DD HH24:MI:SS');
-
8/13/2019 Data Guard 10 g New Features
10/25
Enhanced DR with Flashback Database
Flashback DB removes the need to delay application of logs
Flashback DB removes the need to reinstantiate primary after failover
Real-time apply enables real-time reporting on standby
Real Time
Apply
No Delay!
Real Time
Repor t ing
Flashback
LogFlashback
Log
Primary: No reinstant iat ion
after fai lover!
RedoShipment
Primary Database Standby Database
-
8/13/2019 Data Guard 10 g New Features
11/25
SQL Apply: Zero Downtime Instantiation
Logical standby database can now be created
from an online backup of the primary database,
without shutting down or quiescing the primary
database No shutdown implies no downtime of production
system
No quiesce implies no wait on quiesce and no
dependence on Resource Manager
-
8/13/2019 Data Guard 10 g New Features
12/25
Rolling Upgrades
Major
Release
Upgrades
Patch SetUpgrades
Cluster
Software &
HardwareUpgrades
Initial SQL Apply Config
ClientsRedo
Version X Version X
1
BA
Switchover to B, upgrade A
Redo
4
Upgrade
X+1X+1
BA
Run in mixed mode to test
Redo
3
X+1X
A B
Upgrade node B to X+1
Upgrade
Logs
Queue
X
2
X+1
A B
-
8/13/2019 Data Guard 10 g New Features
13/25
SQL Apply: Additional Data Types
SQL Apply now supports the following additional data types:
Multi-byte CLOB
NCLOB
LONG
LONG RAW
BINARY_FLOAT
BINARY_DOUBLE
IOT-s (without overflows and without LOB columns)
Allows logical standby databases to recover and protect a widervariety of data, thus increasing the overall database protection and
recovery options for Data Guard
-
8/13/2019 Data Guard 10 g New Features
14/25
Enterprise Manager New Features
Streamlined browser-based interface that
enables complete standby database lifecycle
management
Focus on:
Ease of use
Management based on best practices
Pre-built integration with other HA features
-
8/13/2019 Data Guard 10 g New Features
15/25
RAC Support Broker
Now possible to use the Broker to create and manage
configurations that contain RAC primary and RAC
standby databases
Data Guard Broker interfaces with Oracle Clusterwaresuch that it has control over critical operations during
specific Data Guard state transitions
Switchovers, failovers, protection mode changes, state
changes
-
8/13/2019 Data Guard 10 g New Features
16/25
RAC Primary
Two standby dbs
-
8/13/2019 Data Guard 10 g New Features
17/25
Instance specific
-
8/13/2019 Data Guard 10 g New Features
18/25
Example Ease of Use
Switchover using Enterprise Manager is now
literally two mouse clicks
-
8/13/2019 Data Guard 10 g New Features
19/25
-
8/13/2019 Data Guard 10 g New Features
20/25
-
8/13/2019 Data Guard 10 g New Features
21/25
-
8/13/2019 Data Guard 10 g New Features
22/25
-
8/13/2019 Data Guard 10 g New Features
23/25
-
8/13/2019 Data Guard 10 g New Features
24/25
Switched!
-
8/13/2019 Data Guard 10 g New Features
25/25