270 likes | 564 Views
ORACLE DATABASE HIGH AVAILABILITY & ORACLE 11GR2 DATA GUARD. Güneş EROL. OUTLINE. Overview Of High Availability Oracle Database High Availability Architecture Determining Your High Availability Requirements. Overview Of High Availability. What is Availability ?
E N D
ORACLE DATABASE HIGH AVAILABILITY&ORACLE 11GR2 DATA GUARD Güneş EROL
OUTLINE • Overview Of High Availability • Oracle Database High Availability Architecture • Determining Your High Availability Requirements
Overview Of High Availability • What is Availability ? • Availability is the degree to which an application, service, or functionality is available upon user demand.
Overview Of High Availability • Importance Of High Availability • Support enterprises to gain their competitive advantages by providing capability of continuously accessing to critical business data. • Much downtime (surpass the threshold) can cause • Direct cost: lost productivity, lost revenue. • Indirect cost: damaged customer relationships, bad publicity, and lawsuits.
Overview Of High Availability • Causes Of Downtime • Unplanned: • Computer failure • Storage failure • Human error • Data corruption • Site failure • Planned: • System changes • Data changes
Oracle MaximumAvailability Architecture (MAA) • Oracle Database 11g with Data Guard * • Oracle Database 11g with RAC ** • Oracle Database 11g with RAC and Data Guard – MAA ***
Oracle Database 11g with Data Guard • Data Guard provides a comprehensive set of services that create, maintain, manage, and monitor one or more standby databases to enable Oracle databases to survive disasters, failures, errors and data corruption. • Two types of standby databases: • Physical standby database • Logical standby database • Three type of Data Guard Protection Modes: • Maximum Protection • Maximum Avaliablity • Maximum Performance
Oracle Database 11g with Data Guard • Physical standby database provide these advantages: • Protection from user errors and logical corruption • Protection from disasters and site failures if located remotely • Standby database can diverge for reporting or testing purposes and resynchronize with its primary database once complete • Backups can be taken from the physical standby database instead of the production database, relieving the load on the production database • Enable rolling database upgrades of the production database
Oracle Database 11g with Data Guard • Logical standby database provide these advantages: • Logical Standby Database is an open, independent, active database • A logical standby database can be used for other business purposes in addition to disaster recovery. • Users can access a logical standby database for queries and reporting purposes. • Not all Data Types supported(e.g., BFILE, Collections (including VARRAYS and nested tables), Encrypted columns)
Oracle Database 11gFeatures • The Active Data Guard option, first available with Oracle Database 11g, • Snapshot Standby • A logical standby database has the additional flexibility of being open read-write • Heterogenous Platform Support
Oracle Database 11gFeatures • The Active Data Guard option, first available with Oracle Database 11g, enables a physical standby database to be open read-only while redo transport and standby apply are both active..
Oracle Database 11gFeatures • Snapshot Standby enables a physical standby database to be open read-write for any activity that requires a read-write replica of production data (e.g., testing). • A Snapshot Standby continues to receive, but not apply, redo generated by the primary. Redo is applied automatically when the Snapshot Standby is convertedback to a physical standby database.
Oracle Database 11gFeatures • A logical standby database has the additional flexibility of being open read-write. While data maintained by SQL Apply cannot be modified, you can add additional local tables, create local index structures to optimize reporting, use the standby database as a data warehouse, or use it to transform information used to load data marts
Oracle Database 11g with RAC • This architecture provides the following benefits: • Fast node (measured in minutes) and instance failover (measured in seconds) • Rolling patch upgrades • Multiple active instance availability and scalability across multiple nodes
Oracle Database 11g with RAC • Oracle Database 11g with RAC architecture uses Real Application Clusters and is an inherently high availability system
Oracle Database 11g with RAC and Data Guard – MAA • RAC and Data Guard provide the basis of Oracle Database 11g – Maximum Availability Architecture (MAA). • Symmetric sites also enable processes and procedures to be kept the same between sites, making operational tasks easier to maintain and execute.
Determining Your High Availability Requirements • Analysis Framework for Determining High Availability Requirements • Business Impact Analysis • Cost of Downtime • Recovery Time Objective (RPO) • Recovery Point Objective (RTO)
Determining Your High Availability Requirements • Planning and Implementing a Highly Available Enterprise
+ 117% Read-write service + 70% Read-only service PERFORMANCE AND SCALABILITY • More scalable • Better performance: • Eliminate contention betweenread-write and read-only workload • Simplify performance tuning 2,610 1,530 Transactions / sec 630 290 Read-onlyoffloaded to standby All services run on primary database
PERFORMANCE AND SCALABILITY +250% transactions per second on Primary +110% performance per second on Read process