Академический Документы
Профессиональный Документы
Культура Документы
3
Availability Focus Area
4
Old Standard –
HA Components at High Cost
Idle Cluster
Failover Server
Single
SMP Server
r i ced g
m P rin
Premium Priced e mi u
M irro Idle DR Systems
Pr ote
Clusterware & Volume m
Re
Manager
5
New Standard –
Oracle Maximum Availability
Architecture
•Best availability solution
• For every outage category
• At lowest cost
• Low cost grid servers and storage
• No idle hardware
• Bundled clusterware, volume manager, and DR
• Integrated, automated, and simple to use
6
Best Computer Failure Protection
- at Lowest Cost
Computer
Failures Real Application
Unplanned Clusters
Downtime Data
Failures
System
Changes
Planned
Downtime
Data
Changes
7
RAC Availability
• RAC pools standard low cost
servers
• Great for Scalability
• Perfect for Availability
Database • No Idle Resources
• Failover to any other node
• Integrated clusterware
Storage
• Application notification
• Thousands of production
customers
Designed to Tolerate Failure of Low Cost Servers
8
Next Release RAC Sneak Preview
9
Best Data Protection
- at Lowest Cost
Computer
Failures
Unplanned Continuous Data
Downtime Data Protection
Failures
Trade cheap disk space
for expensive downtime
System
Changes
Planned
Downtime
Data
Changes
10
Best Storage Failure Protection
- at Lowest Cost
System
Changes Site Failure
Planned
Downtime
Data
Changes Four Data Failure Types
11
Data Mirroring with ASM
12
Best Human Error Protection
- at Lowest Cost
System
Changes Site Failure
Planned
Downtime
Data
Changes
13
Human Error
Other
Downtime
Single Biggest Cause Other
of Downtime Causes
Human
Error
• Goal is to quickly analyze and repair
• For Localized damage
• Need surgical analysis and repair
• Example – deleted wrong order
• For Widespread damage
• Need complete back-out to avoid long downtime
• Example – batch job deletes this month’s orders
14
Investigate Errors using Time Navigation
• Flashback Query
• Query all data at point in time
Tx 2
Flashback Transaction Query
– See all changes made by a transaction
15
Flashback Database
16
Flashback Error Correction
17
Restore Points (10.2)
18
Revolution in Recovery Traditional
Recovery
80
70
60
40
10 Flashback
• Minutes instead of hours 0
Time To Recover (minutes)
19
Sneak Preview of Next Release
Flashback
20
Next Release Flashback
• Flashback Transaction
• Push button back-out of a transaction and all conflicting
transactions
• Optimized Flashback Database
• Lower overhead for inserts and direct loads
21
Flashback Data Archive
22
Best Corruption Protection
- at Lowest Cost
23
RMAN - Best Tool for Repairing
Corruptions
• RMAN’s deep integration with the database engine
Enterprise Manager
& 3rd Party Tools
makes it the best tool for DB backup & recovery
• Smart
Oracle Database • Sophisticated backup and recovery strategies
• Fast
RMAN Engine • Optimized backup to disk for fastest recovery
inside Oracle DB
• No extra redo during backup
• Block level incremental backup
Media Manager • Reliable
(Veritas, Legato, etc.)
• Block contents validated during backup
• Easy
• Simple management with Enterprise Manager
Tape Libraries
• Supports over 20 Media Managers
RMAN is used at thousands • Veritas, Legato, Tivoli, HP, Oracle Secure
of enterprise sites Backup, etc.
• FREE
24
Automated Disk Backup
25
Oracle Secure Backup
26
World’s Fastest Database Backup
27
Lowest Price
Leading Vendor
Leading
Feature Vendor Oracle
Tape Drive $ 3,000 $ 3,000
Client Host $ 1,000 Free
Oracle Agent $ 6,000 Free
Central Server $ 1,000 Free
SAN Backup $ 3,000 Free
Encryption $ 2,000 Free
Media Server $ 2,000 Free
Price NFS Filer-NDMP $ 6,000 Free
28
Oracle Secure Backup Roadmap
29
Oracle End-to-end Data Validation
Blocks validated and
Protection info added to block
• H.A.R.D. – Hardware Assisted
Oracle Resilient Data
• Prevents corruption introduced in IO
Volume Manager
path between DB and storage
Operating System • Initially introduced in Oracle9iR2
Host Bus Adapter • 10.2 HARD provides
• Better checks
SAN & • All file types & block sizes checked
• DB, log, archive, backup, etc.
Virtualization
• A.S.M. enables HARD without
using RAW devices
SAN Interface
• Supported by major storage vendors
Storage Device
30
Sneak Preview of Next Release
Backup & Recovery
31
Investigation Lengthens Outages
Time to Investigate
& Time to plan
Total Downtime
32
Data Repair Advisor
33
Database Backup & Recovery
Improvements
• Intra-file parallelism for backup and restore of Bigfiles
• RMAN duplicate database works across the network
• Instantiate standby or test database
• No extra temporary copy
• Integration with Windows Volume Shadow Service
(VSS) Backup Interface
• For tape or snapshot backups on Windows
34
Ultra-Safe Mode
35
Best Disaster Protection
- at Lowest Cost
System
Changes
Planned Site Failure
Downtime
Data
Changes
36
Best Site Failure Protection
- at Lowest Cost
Reporting on
Production Standby Logical Standby
Redo Shipping
Database with Real Time Apply Database
Data Guard
37
Standby Database Provides
Fault Tolerance from Unplanned Failures
a t e u s i
Failures
n g
DowntimeT
Unplanned
ol e r Human Error
t a G u a
Data
r d
D a Failures
Corruption
Application Manages
Update Conflicts
Both Sites
Active Redo Shipping
40
Sneak Preview of Next Release
Data Guard
41
Physical Standby with Real-Time Query
Real-time
Queries
Concurrent
Real-Time
Query
Continuous Redo
Shipment and Apply
Primary Physical Standby
Database Database
42
Snapshot Standby – Leverage Standby
Database for Testing
• Convert Physical Standby to Snapshot
Standby and open for writes by testing
Physical Standby applications
Apply Logs • ALTER DATABASE CONVERT TO
SNAPSHOT STANDBY;
• Discard testing writes and catch-up to
Open Back out primary by applying logs
Database Changes • ALTER DATABASE CONVERT TO
PHYSICAL STANDBY;
• Preserves zero data loss
• But no real time query or fast failover
Snapshot Standby • Similar to storage snapshots, but:
Perform Testing
• Provides DR at the same time
• Single copy of storage
Continuous Redo Shipping • No idle resources
43
Data Guard Improvements
44
Data Guard Improvements
45
SQL Apply and Streams Improvements
46
Which Standby to Use
Benefits Limitations
+ Disaster Recovery - No updates allowed
Physical + Real-time Query - No rolling upgrades
Standby + High Performance Apply
+ Supports all data types
+ Fast Automatic Failover
+ Application Transparent
47
Which Standby to Use
• Reporting with Updates – Logical Standby
• Allows updates to reporting tables, adding indexes,
Logical materialized views, auditing, etc.
Standby • Limitations - data types, slower apply
Reporting with Updates • Testing – Snapshot Standby
• Full updates to all tables
• Limitations - slow failover, no real-time reporting
Snapshot • Multi-Site Updates – Streams
Standby • Active-active updates on primary and ‘standby’,
Testing heterogeneous hardware
• Limitations - loses application transparency, data
types, apply performance
Streams • Logical and Streams allow Rolling Upgrades
Multi-Site Updates
All can achieve zero data loss Disaster Recovery
48
Best Data Protection at Lowest Cost
49
Other 10.1 Enhancements
• Compression of backups
• Automated creation of new files during recovery
• Full DB “begin backup” command for faster mirror
split
• Improved Recovery Parallelism (2x to 4x)
• Tablespace Rename
• Time window based throttling of backups
50
Best Online System Changes
Computer
Failures
Unplanned
Downtime
Data
Failures
51
Online Reconfiguration –
Capacity on Demand
• CPU
• Add/remove CPUs on SMP online
• Cluster Nodes
• Add/remove cluster nodes online
Database • No data movement needed
• Memory
• Grow and shrink shared memory and
buffer cache online
Storage
• Auto tuning of memory online
• Disk
• Add/remove disks online
• Automatically rebalance
52
Online Patch Upgrade using RAC
Emergency
One-off
Clients A Clients Patch
Patches
1 2
Critical Patch
Updates
Initial RAC Configuration Clients on A, Patch B
Operating
System
BB Patch Upgrades
4 3
Hardware
Upgrades
Upgrade Complete Clients on B, Patch A
53
Online Database Upgrades using SQL Apply
Upgrade
Major
Version X Version X X X+1 Release
1 2 Upgrades
Initial SQL Apply Config Upgrade node B to X+1
54
Sneak Preview of Next Release
Database Upgrade
55
Online Patching of One-off Patches
56
Proactive Patching
Recommended
interim patch
becomes
available
DB/Grid Control Proactively search
for patches relevant
to customer Patch published on
environment eg. by MetaLink with meta
feature usage data
Physical
Also possible in 10.2 with more manual steps
58
Best Data Changes
Computer
Failures
Unplanned
Downtime
Data
Failures
System
Changes
Planned
Downtime Online Application
Data Upgrades
Changes
59
Online Table & Index Redefinition
• All index changes can be done online
• Create new index, move index, defragment index
• Tables can be Reorganized & Redefined online
• Table contents are copied to a new table
• Defragments and allows changing location, table type, partitioning
• Contents can be transformed as they are copied
• Can change columns, types, sizes - specified using SQL “Select”
Copy Transform
Source
Table Table Result
Table
GUI
Store
Update Updates interface
Continuous to make it
Queries & Tracking Transform Simple
Updates Updates
60
Online Redefinition Enhancements
61
Sneak Preview of Next Release
Online Application Upgrade
62
Online Application Upgrade
63
In-Place Redefinition Improvements
64
Edition-Based Redefinition
65
Versioning a View of a Table
66
Features for Handling Data Changes
During Upgrades
67
Summary
• Best solution for every outage
• Best Clustering – Real Application Clusters
• Best Human Error Protection - Flashback Error Correction
• Best Backup and Recovery – Recovery Manager
• Best Disaster Protection – Data Guard
• Best Uptime for System Changes – Online Patching and Upgrades
• Best Uptime for Data Changes – Redefinition and Editions
• Lowest Cost
• Low cost grid servers and storage
• No idle hardware
• Bundled clusterware, volume manager, and DR
• Integrated, automated, and simple to use
68
Best Practices –
Maximum Availability Architecture (MAA)
• Operational Practices are key
• Technology alone is not enough
• MAA is a blueprint for achieving HA & DR
AA
• Tested, validated, and documented best
M n t,
practices
• Database, Storage, Cluster, Network
v e
Pre , and • 25 person year effort
r a te • otn.oracle.com/deploy/availability
o le v e r
T eco es
R ta g
O u
m
Fro
69
Oracle’s Integrated HA Solutions
RAC Clusters
Computer
Fast Application
Notification
70
71
<Insert Picture Here>
Appendix
72
New Oracle Database 10.2 HA Features
Application Manages
Update Conflicts
Both Sites
Active Redo Shipping
78
Oracle color palette
Secondary Colors
Complementary Colors
79
Photography
• Title slides, section dividers and quote call-outs have a place for
photography, designated by a grey box with <Insert Picture Here>
• A collection of “industry images”, which Oracle has purchased global
usage rights for, has been provided for use in these spaces. Additional
photography will be made available periodically.
• Select images that are appropriate for the specific presentation.
“Business” and “Business Lifestyle” images may be used when industry
specific images are not appropriate
• To insert photography – select <Insert> + <Picture from File> and then
scale and position the image exactly over the grey square. See the next
slide for instructions on using “the grid” to automatically snap images
into place.
• The approved library of images can be located at:
http://www.oracle.com/wocportal/page/wocprod/corpbrand/graphic_identity/resources/resources_pp.html
80
Using the PowerPoint Grid
81