Documente Academic
Documente Profesional
Documente Cultură
• Service-level oriented
Production Copy
• Prevent business outages
Database
Replication • Protect Oracle data
• Oracle’s HA Blueprint
Oracle
Database
On Premises On Cloud
Copyright © 2016
2016,Oracle
Oracleand/or
and/orits
itsaffiliates.
affiliates.All
Allrights
rights reserved.
reserved. || Oracle Confidential – Internal 7
Program Agenda
http://www.oracle.com/technetwork/database/availability/maa-reference-architectures-2244929.pdf
• DB_BLOCK_CHECKSUM, DB_BLOCK_CHECKING
– Compute checksum on change and catches corruptions in memory
– Validate checksum on read and update (DETECTION)
– Prevents corrupted block to be written to disk (PREVENTION)
– Recover using good data block and redo (REPAIR)
Bad Good
• Automatic Storage Management
SCN SCN – Data Corruption or I/O error triggers repair (DETECTION/REPAIR)
– Reads extent copies for good copy (PREVENTION of ERROR)
– Good writes can correct existing corruptions (REPAIR)
Database upgrades: patch sets and full database releases Minutes to hours Zero
Platform migrations Hours to a day Zero
Application upgrades that modify back-end database objects Hours to days Zero
Tape Archive
• Data validated when copied
• Data validated on receive to and restored from tape
• Data periodically revalidated
• Data validated on restore
• Built using MAA practices Remote Replica for DR
• Automatic disk scrub/repair • Data validated on receipt,
protects on-disk backups when restored, and at
periodic intervals
• Automatic disk scrub and
repair
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | 19
Unplanned Outages and Planned Maintenance
Bronze - Single Instance Oracle Database with ZDLRA
Data Loss
Events Downtime
Potential
Database instance failure Minutes Zero
Unplanned
Outages
Minutes to
Recoverable server failure Zero
hours
Data corruptions, unrecoverable server failure, database or Near-zero with
Hours to days
site failures ZDLRA redo transport
Database upgrades: patch sets and full database releases Minutes to hours Zero
Platform migrations Hours to a day Zero
Application upgrades that modify back-end database objects Hours to days Zero
Dedicated Databases
Zero Zero
be done online but qualified for RAC rolling install
Planned
Database upgrades: patch sets and full database releases Minutes to hours Zero
Platform migrations Hours to a day Zero
App upgrades that modify back-end database objects Hours to days Zero
0:06:15
0:10:24
0:14:33
0:18:42
0:22:51
0:27:00
0:31:09
0:35:18
0:39:27
0:43:36
0:47:45
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
0:51:55
0:56:04
1:00:13
1:04:22
1:08:31
1:12:40
1:16:49
1:20:58
1:25:07
1:29:16
1:33:25
1:37:35
OLTP Workload During Planned Maintenance with RAC
stop/starts
application
26
No impact to
during service
Gold
Reference
Architecture
Site A Site B
Real-time data protection, HA and DR
HA Cluster HA Cluster using Active Data Guard
– Best corruption protection
– Zero or near-zero data loss
Database – Automatic database failover
Replication – Offload read-only and backups
sync/async Flexible logical replication using Oracle
Backups
GoldenGate
Backups
– Replica open read-write
Coordinated site failover using
Tape Oracle Site Guard
SYNC or ASYNC
Offload Fast
Incremental
Enterprise Manager Cloud Control Backups
Exadata HARD checks on write, automatic disk scrub and repair HARD checks on write
patches that cannot be done online but are qualified for RAC Zero Zero
Planned
rolling install
Database upgrades: patch sets, full database releases Seconds Zero
Platform migrations Seconds Zero
Application Servers
3
The infrastructure hosting the database fails just before the
transaction is committed to the database.
4
JDBC driver detects the failure and checks with an available
4
Network Switches node in the cluster, using “Transaction Guard”, whether the
2 5
transaction committed or needs to be replayed.
6 The user receives confirmation that the website order has been
successfully completed.
Trail
Trail
Capture Pump Files Delivery
Files
Delivery
Trail LAN / WAN / Internet Pump
Trail Capture
Files Files
Over TCP/IP
Source & Target Target & Source
Oracle & Non-Oracle Database(s) Bi-directional Oracle & Non-Oracle Database(s)
Deliver
Route
Pump
Trail
*: Expected in CY2017
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 40
Edition-Based Redefinition
Online Application Upgrade
Data corruption, database unable to restart, site failure Zero application outage Zero
Online file move, reorganization/redefinition, patching Zero application outage Zero
Hardware or operating system maintenance and database
patches that cannot be done online but are qualified for Zero application outage Zero
Maintenance
Planned
Application upgrades that modify database objects Zero application outage Zero
Business Critical
SILVER Gold +
Prod/Departmental
BRONZE Silver + Exadata Cloud Service +
Zero Downtime
Bronze + GoldenGate Cloud Service
Dev, Test, Prod DB Enterprise
Zero Data Loss
Loss Golden Gate Cloud
Maintenance Svc.
/ Migration
Zero
CloudData
Service
DB Enterprise
Zero Downtime DR
HA to
andthe
DRCloud Use Case
Cloud (Active) Data Guard
Zero Data Loss
Backup
DB and and
Enterprise RAC Service
High Availability
Backup to the Oracle RAC
Recovery
Backup Cloud
Cloud Use Case
Services
http://www.oracle.com/technetwork/database/availability/maa-reference-architectures-2244929.pdf
DATABASE IN-MEMORY
DATABASE IN-MEMORY
Databases Databases
Software checking
Active clusters, Online patching,
Disk/flash mirroring reconfiguration,
expansion
LAN WAN
Best MAA Database Platform | Fastest RAC Instance and Node Failure Recovery | Fastest Backup - RMAN Offload to Storage
Deep ASM Mirroring Integration | Fastest Data Guard Redo Apply | Complete Failure Testing with Lowest Brownouts
Partitioning
All Oracle All Exadata Columnar Flash Cache
Database DB Machine
Advanced Hybrid Columnar
Compression Innovations Innovations Compression 10:1
HCC
Oracle
Database
On Premises On Cloud