Академический Документы
Профессиональный Документы
Культура Документы
2
Common Abbreviations
• Recoveryy Manager
g ((RMAN))
• Oracle Secure Backup (OSB)
• Linear Tape-Open v4 (LTO-4)
• OpenFabrics Enterprise Distribution (OFED)
• Internet Protocol over InfiniBand (IPoIB)
• M i
Maximum T
Transmission
i i U Unit
it (MTU)
• Exadata Hybrid Columnar Compression (EHCC)
3
Session Topics
Agenda
ge da
4
Key Points and Customer Take-Aways
5
Exadata Backup & Recovery
2 E
2. Exadata
d t backup
b k and d
recovery is very fast Sun Fire X4275
Oracle Secure
Media Servers
3. Validated strategy,
configuration and steps
Oracle Exadata
Storage Servers Oracle
Tape
Library
6
Key Point #1
“Exadata is backed up and recovered using RMAN”
Business Value Add
“Backing up an Oracle database on Exadata is the same as backing up any other Oracle database.”
Key Point #1
“Exadata
“E d t is
i backed
b k d up and
d recovered
d using
i
RMAN”
B i
Business Value
V l Add
“Backing up an Oracle database on Exadata is
the
h same as backing
b ki up any other h Oracle
O l
database.”
7
Exadata Backup & Recovery
8
Exadata Backup & Recovery
• Simple Operations
– Simple RMAN commands to backup, restore or recover the
database – same as any other Oracle platform
• RMAN Examples
9
Key Point #2
“Exadata backupp and recovery
y is very
y fast”
Business Value Add
“Save time and resources”
Key Point #2
“E d t backup
“Exadata b k and
d recovery is
i very fast”
f t”
10
Exadata Backup & Recovery
11
Exadata Backup & Recovery
12
Exadata Backup & Recovery
13
Key Point #3
“Validated strategy,
gy, configuration
g and steps”
p
Business Value Add
“More Benefits, Less Work”
Key Point #3
“V lid t d strategy,
“Validated t t configuration
fi ti and
d steps”
t ”
14
Exadata Backup & Recovery
Backups
ac ups Internal
e a too Database
a abase Machine
ac e
• Disk configuration
g layout
y
• Performance rates
• Strategy and Benefits
• Backup best practices
• Restore best practices
• S i tE
Script Examples
l
15
Exadata Backup & Recovery (Internal)
Disk
s co
configuration
gu a o layout
ayou
The faster (outer) 40% of the disk is assigned to the DATA Area
The slower (inner) 60% of the disk is assigned to the RECO Area
16
Exadata Backup & Recovery (Internal)
Performance
e o a ce Rates
a es
• Backup rate
– 18TB/Hr for Full Rack configurations
– Effectively 10-50 TB/Hr for incremental backups
• Restore rate
– 18 - 24TB/hr for Full Rack Configuration
• Typical
yp Redo Apply
pp y (recovery)
( y) rate
– 200MB redo/sec (720GB redo/hour) for OLTP Workloads
– 600MB redo/sec (2.1TB redo/hour) for Direct Load
Workloads
17
Exadata Backup & Recovery (Internal)
Strategy
S a egy a
and
d Benefits
e e s
18
Exadata Backup & Recovery (Internal)
Backup
ac up bes
best p
practices
ac ces
19
Exadata Backup & Recovery (Internal)
Restore
es o e bes
best p
practices
ac ces
20
Exadata Backup & Recovery (Internal)
Script
Sc p Examples
a p es
• RMAN configuration
configure default device type to disk;
configure device type disk parallelism 16;
• RMAN script
p for nightly
g y incremental level 1 backup
p
run {
recover
copy of database
with tag full_database;
full database;
backup
incremental level 1
for recover of copy
with tag full_database
full database
database;
21
Exadata Backup & Recovery
Backups
ac ups External
e a too Database
a abase Machine
ac e
22
Exadata Backup & Recovery
Backups
ac ups External
e a too Database
a abase Machine
ac e ususing
g Exadata
ada a S
Storage
o age
• Configuration,
g Strategy
gy and Benefits
• Disk Configuration Layout
23
Exadata Backup & Recovery (External)
Alternative
e a e Backup
ac up Area
ea o
on Exadata
ada a S
Storage
o age
Oracle
O l Database
D t b Oracle
O l Exadata
E d t
Machine Storage Servers
InfiniBand Network
24
Exadata Backup & Recovery (External)
Disk
s co
configuration
gu a o layout
ayou
25
Exadata Backup & Recovery
Backups
ac ups External
e a too Database
a abase Machine
ac e too Tape
ape with OS
OSB
• Disk Configuration
g Layout
y
• Performance rates
• Strategy and Benefits
• Backup best practices
• Restore best practices
• S i t
Script
• OSB Benefits and best practices
26
Exadata Backup & Recovery
MAA Validated
a da ed Architecture
c ec u e
Oracle
O l Database
D t b Oracle
O l StorageTek
St T k
Machine SL500
Sun Fire X4170
Oracle Secure Backup
Administrative Server
27
Exadata Backup & Recovery (External)
Exadata
ada a S
Storage
o age Se
Server
e GGrid
d Disk
s layout
ayou
The faster (outer) 80% of the disk is assigned to the DATA Area
The slower (inner) 20% of the disk is assigned to the RECO Area
28
Exadata Backup & Recovery (External)
Performance
e o a ce rates
a es
29
Exadata Backup & Recovery (External)
Strategy
S a egy a
and
d Benefits
e e s
30
Exadata Backup & Recovery (External)
Benefits
e e sa and
d Trade-Offs
ade O s of
o Tape
ape o
only
y so
solution
u o
• Benefits
– Fault Isolation from Exadata Storage
– Maximizes Oracle Database Machine capacity and bandwidth
– Move backup off-site easily
– Keep multiple copies of backups in a cost effective manner
• Trade-Offs
– Disk-based solutions have better recovery times for data and
logical corruptions and certain tablespace point in time
recovery scenarios
– No differential incremental backups are available
31
Exadata Backup & Recovery (External)
Configuration
Co gu a o Best
es Practices
ac ces for
o Tape
ape Backup
ac up
32
Exadata Backup & Recovery (External)
Configuration
Co gu a o Best
es Practices
ac ces for
o Tape
ape Restore
es o e
33
Exadata Backup & Recovery (External)
GigE
G g v 10GigE
0G g v IPoIB
o
34
Exadata Backup & Recovery (External)
InfiniBand
a d Co
Configuration
gu a o Best
es Practices
ac ces for
o Tape
ape
35
Exadata Backup & Recovery (External)
Script
Sc p Examples
a p es
• RMAN configuration
configure default device type to sbt;
configure device type sbt parallelism 14;
• RMAN script
p for weekly
y backup
p
run {
backup incremental level 0 database tag 'weekly_level0';
backup archivelog all not backed up;
}
36
Exadata Backup & Recovery (External)
Oracle
O ac e Secu
Secure
e Backup
ac up Advantages
d a ages
37
Exadata Backup & Recovery (External)
Oracle
O ac e Secu
Secure
e Backup
ac up Co
Configuration
gu a o Best
es Practices
ac ces
• Configure
g the Preferred Network Interface ((PNI)) to
direct the OSB traffic over the InfiniBand network
interface
38
Exadata Backup & Recovery (External)
Oracle
O ac e Secu
Secure
e Backup
ac up & Recovery
eco e y Best
es Practices
ac ces
– http://www.oracle.com/technetwork/database/features/availab
ility/maa-tech-wp-sundbm-backup-11202-183503.pdf
39
Exadata Backup & Recovery (External)
Third
d Party
a y Media
ed a Management
a age e p products
oduc s
40
Exadata Backup & Recovery (External)
Using
Us g a Physical
ys ca SStandby
a dby da
database
abase for
o bac
backups
ups
• Backing
g up using
g a Physical
y Standby
y database
– Offloads the backup to the standby environment
– Reduce backup times with fast incremental backups
– Eliminate impact to the primary environment
41
Business Takeaways
Business Takeaways
42
Exadata Backup & Recovery
Business
us ess Takeaways
a ea ays
43
Best Practice Takeaways
44
Exadata Backup & Recovery
Best
es Practice
ac ce Takeaways
a ea ays
45
Best Practices
Additional Resources sponsored by MAA and X-Team
X Team
46
Sponsors
Exadata MAA Team and X Team
47
Copyright
48
Copyright
49