You are on page 1of 8

11GR1 SNAPSHOT STANDBY

Sreekanth Chintala
Global Database Engineering
DELL IT PROD ENVIRONMENT

Total: 1085
151

392

795

• Targets:  6126
• Cluster Databases: 289
• DB Instances: 1188
• Hosts: 1342, ASM Targets: 849
Oracle Versions
• 186 Physical Standbys
2
CHARACTERISTICS

y Fully updatable standby


y Provides disaster recovery and data protection
y Requires Flashback Database
y Can not be part of switchover/failover until it returns to
a physical standby
y In 11g the Data Guard Broker will convert it back to a
Physical standby automatically upon manual failover.
y Flashback database limitations apply
y No Real-Time Query
y No Fast-Start FailOver

DELL CONFIDENTIAL 3
HOW WE USE IT

y Use as a Performance Testing environment


y Eliminate the guesswork, reliable and dependable
results
y Save time and effort in data movement
y Save money through consolidation
y Know the impact of change
y On production infrastructure and production data
y Realistic view on resource consumption
y No surprises. Implement changes with confidence.
y Tuning isn’t a guess anymore
y Best execution plan from real data or use SQL
Performance Analyzer (SPA)

DELL CONFIDENTIAL 4
Snapshot Standby in 10gR2
1. Prepare the Standby 2
2. Prepare the Primary

3. Create Guaranteed Restore Point

4. Convert Physical Standby to Read Write

5. Use Read Write Standby

6. Flashback to Restore Point

7. Convert standby back to Physical Standby

1 3 4 5
Apply Redo

Time
Standby Read/Write Read/Write Read/Write

7 Apply Archive Logs

Standby Standby Standby Time


5
Snapshot Standby in 11gR1
1. Convert to Snapshot Standby

2. Use Snapshot Standby

3. Convert to Physical Standby

1 2
Apply Redo

Time
Standby Read/Write Read/Write Read/Write

Apply Archive Logs

Standby Standby Standby Time


6
1. Convert to Snapshot Standby

Use With Real Application Testing


2. Use Snapshot Standby

3. Convert to Physical Standby

Replay … Replay
Driver Driver

1 2
Apply Redo

Time
Standby Read/Write Read/Write Read/Write

Apply Archive Logs

Standby Standby Standby Time


7
DIFFERENCES

10gR2 11gR1
Manual Steps (OTN Paper) Single Command

Does not receive Redo from Primary during Receives Redo from Primary all the time
‘Snapshot’ period
Can use OEM/Grid Control
Can not use OEM/Grid Control (Requires Data Guard Broker)

You might also like