Oracle Database High Availability Strategy, Architecture and Solutions
Oracle Database High Availability Strategy, Architecture and Solutions
AVAILABILITY STRATEGY,
ARCHITECTURE AND SOLUTIONS
DOAG - 17/09/2013
Kirill Loifman
Oracle Certified Professional DBA
www: dadbm.com
Twitter: @loifmkir
ELEMENTS OF HIGH AVAILABILITY
• High availability
– Eliminating single points of failure through redundancy
- Examples: redundant HW, SAN/ASM, RAC databases
• Disaster recovery
– Recovering from failure
- Examples: Extended clusters, standby databases
• Downtime
– How much time you can tolerate your system being unavailable
– Includes unexpected as well as planned down time
- 99.9% availability ~ 8 hours and 45 minutes of down time per year
Footer 14/03/2012 2
CAUSES OF DOWNTIME
• 2 ways of dealing with the potential for disaster:
a) expect and plan for it
b) do nothing, and hope for the best
Footer 14/03/2012 3
UNDERSTANDING SERVICE LEVEL AGREEMENTS (SLA)
• 1. Understanding Service Level Agreements - customer's service requirements
Footer 14/03/2012 4
AVAILABILITY TARGET VS COST
• How many 9s do you need? Availability Target Downtime Per Year (Approx.)
90 % 36 days
• - Sharp decrease in 98 % 7.3 days
downtime for each
99.7 % 26 hours
additional 9 in the
99.99 % 52 minutes
availability target.
99.999 % 5 minutes
Footer 14/03/2012 8
STORAGE-LEVEL PROTECTION CONSIDERATION
• 2 file systems (DATA & FRA) are enough
to share storage between multiple DBs
Footer 14/03/2012 10
HARDWARE RAID–STRIPED LUNS
Footer 14/03/2012 11
SINGLE-NODE, NON-CLUSTERED ORACLE DATABASE
• HA Level 1 ~ 95-98% Availability
• Single-instance, standalone
(noncluster) database
• 2 or multiple-nodes cluster
Footer 14/03/2012 18
ORACLE RAC AND DATA GUARD COMPLEMENTARITY
• RAC addresses system failures by
providing rapid and automatic
recovery from failures, such as node
failures and instance crashes.
Footer 14/03/2012 19
ORACLE MAXIMUM AVAILABILITY ARCHITECTURE (MAA)
• MAA is a set
of best practice
blueprints for the
integrated use of
Oracle HA
technologies
• MAA provides
guidance on optimal
HA architectures
designed to achieve
the different service
level objectives
• MAA resources:
oracle.com/goto/maa
Footer 14/03/2012 20
ORACLE MAA EXAMPLE – RAC & DATA GUARD
• HA Level 4 ~ 99.9% availability
• MAA provides the most
comprehensive architecture for
reducing down time for scheduled
and unscheduled outages
• Two identical sites
• Primary site contains the
RAC database
• Secondary site contains
Physical Standby database or both
Physical and Logical one on RAC
• Active DataGuard can be use
for online reporting (extra licensed)
• Data Guard switchover and
failover functions allow the roles to
be traded between sites
Footer 14/03/2012 21
ACTIVE-ACTIVE HA AND ZERO-DOWNTIME UPGRADES:
GOLDEN GATE
Footer 14/03/2012 22
DATABASE HA SOLUTIONS – ANOTHER EXAMPLE
• Stretched RHCS
with 2 Nodes
• Single DB
instance(s) in cold
failover mode
• Storage mirroring
with DRBD
• HA Level 3 - 99.7%
Footer 14/03/2012 23
ORACLE EXADATA VERSION 3 Exadata limitations
- Can not install other software
- Can not spread cluster nodes
Exadata X3 Database for High Availability - Can not mirror storage
• Same architecture and price as X2 -…
• 4x larger flash memory -> 22TB PCI
flash memory per rack
• 20x more write performance -> Exadata
Smart Flash Write Caching
• 33% more data throughput -> 100GB/sec
running SQL
New Oracle Platinum Services on X3
• 33% faster DB CPUs -> 8-Core Xeon • Applied to Oracle Engineered Systems
SandyBridge E5-2690 • Delivered at no additional costs for Premier Support
• 75% more memory -> 2-4 TB DRAM customers
• Full 10Gb Ethernet to Data Centre • 24/7 oracle monitoring and remote diagnostics
• 10-30% lower power -> Up to 3 Kilowatt • 5 Minute Fault Notification
Reduction per Rack • 15 Minute Restoration or Escalation to Development
• New lower cost 1/8 rack solution • 30 Minute Joint Debugging with Development
• Quarterly system updates
Footer 14/03/2012 24
ORACLE 12C HIGH AVAILABILITY FEATURES
• Oracle Multitenant architecture
• Application Continuity - improve application recovery (former TAF)
• Global Data Services - support global database services
• Active Data Guard Far Sync - extend zero-data-loss protection
• Flex ASM - enable inter-node storage failover and reduce ASM-related resource
consumption
• SYSDG, SYSBACKUP – new privileges to avoid granting SYSDBA
• Active Duplicate Cloning – rman feature
• More online operations: datafile move, partition move
• Database Rolling Upgrades using Active Data Guard
• OEM12c Cloud Control:
- Oracle Site Guard – extends automation of disaster recovery to the rest of the Oracle stack
- High Availability Console - integrates monitoring of various HA areas
- MAA Configuration Advisor
- Automation of migration a database to ASM and RAC
….
Footer 14/03/2012 25
???
THANK YOU!
Kirill Loifman
www.dadbm.com