Oracle Data Guard

Oracle Data Guard

The software which Oracle Corporation markets as Oracle Data Guard forms an extension to the Oracle RDBMS. It aids in establishing and maintaining secondary "standby databases" as alternative/supplementary repositories to production "primary databases".

Oracle Corporation provides both GUI and command-line tools for managing Data Guard configurations.

Data Guard supports both physical standby and logical standby sites. Oracle Corporation makes Data Guard available only as a bundled feature included within its "Enterprise Edition" of the Oracle RDBMS.[1]

With appropriately set-up Data Guard operations, DBAs can facilitate failovers or switchovers to alternative hosts in the same or alternative locations.

Contents

Configurations

Physical standby (Redo Apply)

A Physical standby database replicates the exact contents of its primary database across the Oracle Net network layer. While the physical storage locations can be different, the data in the database will be exactly the same as the primary database. It can function either in managed Recovery mode or in read-only mode, but not in both modes at the same time unless the databases are at Oracle Database 11.1 or higher and the Active Data Guard option is licensed (See below).

Logical standby (SQL Apply)

Logical standby databases convert the redo generated at the Primary database into data and SQL and then re-apply those SQL transactions on the Logical standby, thus physical structures and organization will be different from the Primary database. Users can read from logical standby databases while the changes are being applied and, if the GUARD is set to STANDBY (ALTER DATABASE GUARD STANDBY;), write to tables in the Logical standby database that are not being maintained by SQL Apply.

Unfortunately there are a number of unsupported objects (ie: tables or sequences owned by SYS, tables that use table compression, tables that underlie a materialized view or Global temporary tables (GTTs)) and unsupported data types (ie: Datatypes BFILE, ROWID, and UROWID, user-defined TYPEs, Multimedia data types like Oracle Spatial, ORDDICOM, and Oracle Text Collections (e.g. nested tables, VARRAYs), SecureFile LOBs, OBJECT RELATIONAL XMLTypes and BINARY XML).[2] Physical standby may be appropriate in such a case.

Active Data Guard

The "Oracle Active Data Guard" option, an extra-cost facility,[3] extends Oracle Data Guard physical standby functionality in Oracle 11g configurations. It allows read-only access on the standby node at the same time as archiving transactions from the primary node.[4]

Operation

Server-side functionality

LNS (log-write network-server) and ARCH (archiver) processes running on the primary database select archived redo logs and send them to the standby database,[5] where the RFS (remote file server) background process within the Oracle instance performs the task of receiving archived redo-logs originating from the primary database.

Alternatively, a supplementary mechanism may transfer the archived redo logs. On the standby database a Fetch Archive Log (FAL) client monitors for gaps in the sequence of received logs. If it finds a gap, it may invoke one or more Fetch Archive Log (FAL) servers to run on the primary database to forward the missing item(s).[6]

Once the archived redo logs have arrived, other processes (such as an ARCH (Archiver process), an MRP (Managed Recovery Process), and/or an LSP (Logical Standby Process)) may set about applying the log contents to the standby database.

Client-side access

The Data Guard Broker subsystem can aid in the setup, management and monitoring of Data Guard configurations.[7]

Advantages

Data Guard provides high availability for a database system. It can also reduce the human intervention required to switch between databases at disaster-recovery ("failover") or upgrade/maintenance ("switchover") time.

Disadvantages

Version 11.2.0.1.0 and earlier is somewhat unreliable and buggy in its physical standby incarnation.

If the network link connecting primary and standby is over-subscribed, the redo logs are not applied in chronological order, which can result in large gaps appearing in the available redo at the standby. Such a condition results in the standby being behind the primary.

Data Guard restricts use to like platform and Oracle RDBMS versions. [3]

Active Data Guard is an added cost option bundled within "Enterprise Edition" of the Oracle RDBMS and allows purely read-only access. [4]

Substantial costs savings are possible using Oracle Standard Edition (SE), Oracle Standard Edition One (SE1) or even Oracle Express (XE) with use of a third-party products to provide high availability for a database system. [8]

See Also

Oracle RAC

References

  1. ^ http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/standby.htm#insertedID3 Data Guard Concepts and Administration, 11g Release 1 (11.1); Section 2.3.2: "Oracle Software Requirements" Retrieved 2007-10-01
  2. ^ Czuprynski, Jim (January 2010). "Leveraging Logical Standby Databases in Oracle 11g Data Guard" (HTML). http://www.databasejournal.com/features/oracle/article.php/3860251/Leveraging-Logical-Standby-Databases-in-Oracle-11g-Data-Guard.htm. Retrieved 2010-07-16. 
  3. ^ a b Lorentz, Diana (01/2009). "Oracle Database Options". Oracle Database Licensing Information 11g Release 1 (11.1). Oracle Corporation. http://download.oracle.com/docs/cd/B28359_01/license.111/b28287/options.htm#sthref21. Retrieved 2009-04-22. "If a physical standby database in a Data Guard configuration has any of the above features enabled, then the Active Data Guard option must be licensed for every such physical standby, and also for the primary database." 
  4. ^ a b "Oracle Active data Guard". Oracle Database. Oracle Corporation. 01/2010. http://www.oracle.com/database/active-data-guard.html. Retrieved 2009-04-22. "Oracle Active Data Guard enables read-only access to a physical standby database for queries, sorting, reporting, web-based access, etc., while continuously applying changes received from the production database." 
  5. ^ Smith, Michael T (February 2007). "Data Guard Redo Transport & Network Best Practices: Oracle Database 10g Release 2" (PDF). Oracle Corporation. pp. 6, 14. http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gR2_DataGuardNetworkBestPractices.pdf. Retrieved 2009-03-11. "... sending processes (LNS and ARC) on the production database....The Data Guard LNS process on the production database performs a network send to the Data Guard RFS process on the standby database." 
  6. ^ Oracle-Base site summary of Data Guard, retrieved 2007-09-05; Oracle Corp version 11.1 documentation links, retrieved 2007-09-05.
  7. ^ Whalen, Edward (2005). Oracle Database 10g Linux administration. McGraw-Hill Professional. p. 329. ISBN 9780072230536. http://books.google.com/books?id=2ImPFP6Yk64C. Retrieved 2011-09-07. "The Data Guard Broker is the set of utilities and services that manage Data Guard. Included in the Data Guard Broker are both a GUI interface using Oracle Enterprise Manager and a command-line interface (CLI). The Data Guard Broker is used to set up Data Guard, to manage the configuration, and to monitor Data Guard." 
  8. ^ "Consider Oracle Standard Edition to Reduce Database Management System Costs". Gartner RAS Core Research Note G00174599. Gartner Publicationzs. 03/2010. http://www.gartner.com/DisplayDocument?id=1312417. Retrieved 2010-03. "With servers becoming more powerful, Oracle Standard Edition One and Oracle Standard Edition should be considered as an alternative to Oracle Enterprise Edition as a DBMS platform with potentially large cost savings." 

Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Oracle Data Guard — Oracle Dataguard ist eine Erweiterung des Datenbankmanagementsystems der Firma Oracle, die den Betrieb einer Standby Datenbank erlaubt. Mittels Dataguard ist es möglich, sämtliche Datenänderungen an eine räumlich getrennte Datenbank zu senden.… …   Deutsch Wikipedia

  • Data Guard Control — Oracle Dataguard ist eine Erweiterung des Datenbankmanagementsystems der Firma Oracle, die den Betrieb einer Standby Datenbank erlaubt. Mittels Dataguard ist es möglich, sämtliche Datenänderungen an eine räumlich getrennte Datenbank zu senden.… …   Deutsch Wikipedia

  • Oracle Database — Developer(s) Oracle Corporation Development status Active Written in …   Wikipedia

  • Oracle Dataguard — ist eine Erweiterung des Datenbankmanagementsystems der Firma Oracle, die den Betrieb einer Standby Datenbank erlaubt. Mittels Dataguard ist es möglich, sämtliche Datenänderungen an eine räumlich getrennte Datenbank zu senden. Diese kann dann… …   Deutsch Wikipedia

  • Oracle RAC — Contents 1 Functionality 2 Aims 3 Implementation 3.1 Cache …   Wikipedia

  • Oracle Advanced Queuing — In computing, Oracle Advanced Queuing (AQ) is a sort of Message Oriented Middleware developed by Oracle Corporation and integrated into its Oracle database. AQ uses database structures as a repository for asynchronous queuing as an element in… …   Wikipedia

  • Oracle Net Services — In the field of database computing, Oracle Net Services consists of sets of software which enable client applications to establish and maintain network sessions with Oracle Database servers. Since Oracle databases operate in and across a variety… …   Wikipedia

  • Oracle (DBMS) — Oracle Datenbank Basisdaten Entwickler: Oracle Aktuelle Version: 11g (10. Juli 2007) …   Deutsch Wikipedia

  • Oracle Database — Oracle Datenbank Basisdaten Entwickler: Oracle Aktuelle Version: 11g (10. Juli 2007) …   Deutsch Wikipedia

  • Oracle (Datenbanksystem) — Oracle Entwickler Oracle Aktuelle Version 11g Release 2 (1. September 2009) Betriebssystem …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”