Professional Documents
Culture Documents
Oracle DataGuard Online Training in USA - INDIA
Oracle DataGuard Online Training in USA - INDIA
AGENDA
Oracle Data Guard a Quick Introduction
Data Guard Features in Oracle Database 10g
Customer Success Story Sun Microsystems
Summary & Q/A
Data Protection
Data Availability
Data Recovery
All 3 are important!
Sync or Async
Redo Shipping
Production
Database
Backup
Redo Apply
Network
Broker
Transform
Redo to SQL
Logical Standby
Database
SQL
Apply
Open for
Reports
Additional
Indexes & MVs
Data Guard
Broker
Physical Standby
Database
Redo Apply
Network
Redo Shipment
Backup
DIGITAL DATA STORAGE
Standby
Redo Logs
Primary
Database
Data Guard
Broker
Logical Standby
Database
Transform Redo
to SQL and Apply
Continuously
Open for Reports
Network
Redo Shipment
Standby
Redo Logs
Can be queried for reports while logs are being applied via SQL
Can create additional indexes and materialized views for better query performance
AGENDA
Oracle Data Guard a Quick Introduction
Data Guard Features in Oracle Database 10g
Customer Success Story Sun Microsystems
Summary & Q/A
OVERVIEW OF OBJECTIVES
Ease of use simplified SQL, easy to create,
manage and administer standby databases,
simplified GUI focused on best practices
Low cost businesses can leverage existing
resources to implement Data Guard, zero
integration costs
Comprehensive feature-rich and flexible
Reliable a rock-solid solution for protection of
mission critical business data
Transactions
LGWR
Online
Redo
Logs
Primary
Database
MRP/ LSP
RFS
Standby
Redo
Logs
ARCH
Real Time
Apply
ARCH
Archived
Redo Logs
An up-to-date
Physical/Logic
al
Standby
Database
Archived
Redo Logs
Standby
Database
Redo
Shipment
Reporting on
delayed data
Delayed
Apply
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 changed blocks
Real Time
Apply
Standby Database
Real Time
Reporting
No
Delay!
Flashbac
k
Log
Primary: No
reinstantiation
after failover!
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
Flashback
Log
ROLLING UPGRADES
Upgra
de
Clients
Redo
A
Version X
1
Logs
Queue
Version X
X
2
X+1
X+1
Redo
Upgrade A
Redo
B
X+1
4 Switchover to B, upgrade A
X
3
X+1
Patch Set
Upgrades
Major
Release
Upgrades
Cluster
Software &
Hardware
Upgrades
RAC Primary
Instance specific
Switched!
AGENDA
Oracle Data Guard a Quick Introduction
Data Guard & Features in Oracle Database 10g
Customer Success Story Sun Microsystems
Summary & Q/A
CASE STUDY
Oracle Data Guard at Sun Microsystems
Darl Kuhn
Senior DBA, Staff Engineer
Business decision considerations
Architecture
Implementation
Features we use
PROJECT REQUIREMENTS
SOLUTIONS WE INVESTIGATED
Backup the database, restore from tape
Operating System failover
Remote Mirroring
Quests SharePlex
Oracle Advanced Replication (OAR)
Oracle Real Application Clusters (RAC)
Oracle Data Guard (Standby)
IMPLEMENTATION DECISIONS
Which data protection mode?
Maximum Protection
Maximum Availability
Maximum Performance
MAXIMUM PERFORMANCE
Primary Database
Production Site
Standby Database
Server
Users
Fetch Archive
Log (FAL)
Remote File
Server (RFS)
Oracle
Net
Primary
Database
LGWR
On-line
Online
Redo
Redo
Copied
Copied
Archive
Archive
Redo
Redo
Managed
Recovery
Process (MRP)
ARCn
Local
Local
Archive
Archive
Redo
Redo
Standby
Database
DATABASE ARCHITECTURE
IMPLEMENTATION OF PHYSICAL
STANDBY
1. Ensure primary database is in archive log mode
Note: In Data Guard 10g, you also need to implement a
password file for both Primary and Standby
RMAN
Hot
Cold
IMPLEMENTATION OF PHYSICAL
STANDBY
3. Copy backup datafiles to standby server
4. Create a standby controlfile
5. Copy the standby controlfile to standby server
6. Configure primary init.ora or spfile
7. Copy primary database init.ora file to standby
server and make modifications for standby database
8. Configure Oracle Net
IMPLEMENTATION OF PHYSICAL
STANDBY
9. Startup and mount standby database
SQL> startup nomount;
SQL> alter database mount standby database;
IMPLEMENTATION OF PHYSICAL
STANDBY
10. Enable managed recovery mode on Standby
SQL> alter database recover managed standby
database disconnect;
Troubleshooting
$ tail f alert_BRDSTN.log
Oracle
Net
Daily
Batch
Load
l3srv1
Standby 1
brdstn
Reports
Primary
Database
ARCn
l3srv2
Standby 2
brdstn
DISASTER HAPPENS
Havent had a complete disaster yet
We have had bad hardware cause failovers
We were able to easily failover to Standby
SQL> alter database activate standby database;
PROPAGATION OF DATAFILE
OPERATIONS
Another task automated in Data Guard 9i
In Oracle8i Standby Database, add/drop
tablespace/datafile commands not
automatically propagated
DBA had to intervene
PROPAGATION OF DATAFILE
OPERATIONS
Example:
SQL> drop tablespace HRM_SALA including contents
and datafiles;
AGENDA
Oracle Data Guard a Quick Introduction
Data Guard & Features in Oracle Database 10g
Customer Success Story Sun Microsystems
Summary & Q/A
MAXIMUM AVAILABILITY
ARCHITECTURE
Best Practices on:
General Data Guard configuration
Redo data transport mechanisms
Protection modes
Switchover/Failover
Media recovery
SQL Apply configuration
Network configuration
Integration with other HA
technologies
White papers1:
MAA detailed
Media Recovery
Site/Network configuration
Fast-Start Checkpointing
SQL Apply Best Practices
Role Management
Utilities
Government
Manufacturing
Health
Care
Other Industries
e-Commerce
CUSTOMER TESTIMONIALS
Data Guard automates disaster-recovery procedures
and reduces Fidelity's exposure to data loss by an
order of magnitude compared to previous approaches.
Jonathan Schapiro
Vice President
Data Architecture & Services
Global Equity Trading & Technology
CUSTOMER TESTIMONIALS
We needed to consider the safe-keeping of our
data, but we also needed to look at cost. Oracle
Data Guard provides everything for a high
availability solution at a lower cost than other
alternatives
Ann Collins
Technical Director
CUSTOMER TESTIMONIALS
We don't have to baby-sit it it just
works!
Darl Kuhn
Senior DBA & Staff Engineer
Database Services
Sun Services Global Engineering
2.
3.
6.
5.
4.
NEXT STEPS
11:00 AM
3:30 PM
1:00 PM
5:00 PM
4:30 PM
NEXT STEPS
REMINDER
PLEASE COMPLETE THE
ORACLEWORLD ONLINE SESSION
SURVEY
THANK YOU.
Q&
A
QUESTIONS
ANSWERS