Professional Documents
Culture Documents
DATABASE CLOUD
10X
Up to
50X
Smart Flash
Cache
Weekly Full +
Daily Incremental
To Tape
Agenda
Disaster Recovery
Physical Data Protection - Data Guard
10
Hours/Minutes
Minimizes time for problem identification & recovery
planning
11
ZFS
Storage
Appliance
StorageTek
Tape
Library
Database
Backup
20 TB/hr
- 25 TB/hr
27 TB/hr
13 TB/hr
9 TB/hr
Database
Restore
20 TB/hr
- 25 TB/hr
27 TB/hr
8 TB/hr
8 TB/hr
12
Storage
Expansion
Rack
Rates achieved using Exadata Database Machine X2-2/X2-8 Full Rack and Exadata Storage Expansion Rack
Tape backup rate limited by number of tape drives. Rate achieved using Oracle Secure backup 10.4.0.2 using RDMA transport and
Direct I/O.
20 25 TB / hour
ZFS
Storage
Appliance
(ZFS/SA)
Exadata
Storage
Expansion
Rack
Exadata
Storage
27 TB / hour
Fastest Backup and Restore
ILM Historical Archive
Second DATA2 Disk Group
13 TB / hour
Backups of database &
non-database files
Snapshots
Clones
StorageTek
Tape
Library
9 TB hour*
Backup of database and
non-database files
Offsite Backups
Vaulting
Incremental Backups
Image copy:
Must be on Disk
Same size as database less temp files
Backup set:
Disk or tape
Smaller than an image copy
Can be compressed
Disk only
Recovery window: typically 1 7 days
Incremental forever strategy after initial
copy
Disk or tape
Typically - weekly fulls and daily
incrementals
Retention:
On-disk: days to weeks
Tape: weeks to years
Can be compressed
14
15
D2D2T
Exadata
Backup to Tape
BACKUP BACKUPSET;
16
StorageTek
Tape Library
17
How?
Reduce the degree of parallelism
Utilize DBRM & IORM
18
Copy or write phases if BACKUP VALIDATE Time < Actual Backup Time
Phase
Tuning Ideas
Read
Copy
Write*
Note*: With Oracle Database 11g Release 2 and ASM, all buffers are automatically sized for optimal performance
19
20
Scan of blocks is
offloaded to the
Exadata Storage Cells
Database Server
Exadata
Note: Incremental backup without Block Change Tracking (BCT) enabled
all database blocks are scanned to determine what has changed
21
Architecting an Exadata
Backup and Recovery
Solution
22
Tier 1
Flashback logs
Exadata Storage
Tier 2
All databases:
Control file backups
Tier 3
Optional:
Offload backups
from production to
standby
ZFS
Storage
Appliance
RMAN Disk Backup
Tier 4
Tape
Tier 5
Tape
Full / Incremental
Weekly full only
Exadata
Expansion
Rack
23
D2D2T as required
StorageTek
Tape Library
Offsite
Location
Safaricom
Tier 3 and Tier 4 Backup Example ZFSSA, OSB & StorageTek
24
RMAN Backup
to tape via OSB
OSB Media
Server(s)
StorageTek
Tape Library
RMAN Backup
to disk
Oracle Exadata
Database Machine
25
ZFS Storage
Appliance (ZFSSA)
InfiniBand QDR Network
Fibre Channel
26
Strategy
Advantage
Disadvantage
Integrated D2D2T
HCC Data
OLTP Compressed Tables
SecureFiles
Compressed/Deduplicated
27
RMAN Catalog
Highly Recommended
RMAN catalog advantages:
Stores backup metadata for longer periods of time
Centralizes management and storage of multiple databases
Enables use of the KEEP FOREVER clause
28
On the Exadata Storage Cells, the internal USB stick provides the
backup
On the Exadata database nodes, backup the operating
system(OS) files in the same manner as with any other database
server
Please refer to the documentation for more information:
http://wd0338.oracle.com/archive/cd_ns/E13877_01/doc/doc.112/e13874/maintenance.htm#CHD
IDGAI
29
Ethernet
InfiniBand
Network
10GigE or
InfiniBand
Network
10GigE or
InfiniBand
Network
30
Database Consolidation
and Data Protection
31
Create Plan
- Group applications with
similar RTO / RPO
- Stagger backups
Do the Math
- Identify I/O constraints
32
Create a Plan
Group Databases by RTO / RPO
RTO < 5 minutes, RPO = Near-zero data loss
Incrementally Updated Backup Strategy 2 day recovery on disk
Fast recovery area on Exadata or Exadata Expansion Rack
Backup to tape from the standby 7 year retention period
Backups encrypted on tape via tape drive encryption
Remote
Standby
FRA
33
Tape
Backup
ZFS
Storage
Appliance
RMAN Disk Backup
Offsite
Location
Note: Solutions may vary based on database size (e.g. 100 TB data warehouse)
Comments
Flashback logs
Incremental backups
Further details:
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmconfb.htm#i1019211
34
RECO
DB 1
DB1
DB2
DB 2
FRA
requirements
Each database has a separate subdirectory within the FRA for all its files
Upon first file creation within the FRA, an <DB_NAME> subdirectory is created
automatically
35
Exadata V2
Standby/Dev/Test
StorageTek
SL8500
Data Guard
High-Capacity
Exadata Storage Servers
5 Production
databases
Data
archive
Database failover
Offload backups
Dev/test databases
RMAN backup
to tape
Oracle Exadata helped us meet our challenges by enabling us to consolidate to a single footprint.
- Ed Link, Vice-President IT, Garmin
36
1 Week (7 days)
14 days
21 days
And So On
Day:
Day:
37
Full
Inc.
Inc.
Inc.
Inc.
Inc.
Inc.
Full
Inc.
Inc.
Inc.
Inc.
Inc.
Inc.
10
11
12
13
14
Full/incrementals must
be treated as a group
Monsanto Company
COMPANY OVERVIEW
Industry: Bio-Technology/Agriculture
Employees: ~22,000
Revenue: US$11.8 billion in FY 2011
Monsanto is a leading global provider of agricultural products that improve farm
productivity and food quality. The company is committed to producing more,
conserving more and Improving lives.
CUSTOMER PERSPECTIVE
We plan the harvest season for two or three times the load on our
information systems. The Oracle Exadata systems contain Oracle
hardware, Oracle software, and Oracle database technology, all integrated
into a cohesive system. Working with a single vendor has made it a lot
easier to resolve issues. Theres no question about responsibility or
ownership if something goes wrong.
We were no longer comfortable with our ability to recover the entire
database within a days time. Now, with the Sun ZFS Storage Appliance, if
we have any type of data corruption issue, we can resolve it very quickly.
ZFS provides a more accessible, faster solution
SOLUTIONS
Oracle Exadata Database Machine
Oracle Real Application Clusters
Sun ZFS Storage Appliance
Oracle Secure Backup
Oracle Active Data Guard
Oracle WebLogic Server
Oracle Service Bus
Oracle Coherence
Oracle Managed Services
Website: http://www.monsanto.com/
High Availability /
Zero Outage
Exadata Differentiator
Migrated over 80 business critical applications
to Exadata Platform
Consolidation of 21 databases into single RAC
and storage platform
Maintain 4 Production like environments with
equal data size and similar outage, backup
and recovery process
Efficient use of Maximum Availability
Architecture
Proactive Monitoring and Reporting
Proactive patching
Onsite Exadata support staff
Predictive hardware failure and issues
resolution
Realized Benefits
Reduced Support and Maintenance cost related
to managing multiple platforms and Databases
Implementation of standard support process
across all environments
Media Server(s)
41
Schedule Accordingly
Based on Available Hardware Throughput and Requirements
One 80 TB database
Backup
Throughput =
8 TB / hour
Two databases:
80 TB = 10 hours then
40 TB = 5 hours
Total backup time = 15 hours
Backups complete in 15
hours although unpredictable
as to when each completes
1 = 80 TB and 2 = 40 TB
Backup
Throughput = 8
TB / hour
Two databases:
1 = 80 TB and 2 = 40 TB
Backup window = 5 hours
42
Recovery is King
43
2.
Best practice:
3.
4.
45
backup:
RESTORE DATABASE VALIDATE;
RESTORE ARCHIVELOG ALL VALIDATE;
46
Summary/Key Takeaways
Exadata Backup and Recovery
RMAN backup / recovery on Exadata is the same as other
Additional Resources
Oracle Exadata Database Machine
http://www.oracle.com/exadata
OTN HA Portal
http://www.oracle.com/goto/availability
Maximum Availability Architecture (MAA)
http://www.oracle.com/goto/maa
MAA Blogs
http://blogs.oracle.com/maa
Exadata on OTN
http://www.oracle.com/technetwork/database/exadata/index.html
Oracle HA Customer Success Stories on OTN
http://www.oracle.com/technetwork/database/features/ha-casestudies-098033.html
48
49
50