Oracle RAC

Oracle RAC

Contents

In database computing, Oracle Real Application Clusters (RAC) — an option [1] for the Oracle Database software produced by Oracle Corporation and introduced in 2001 with Oracle9i — provides software for clustering and high availability in Oracle database environments. Oracle Corporation includes RAC with the Standard Edition of Oracle Database (aka Baby RAC), but makes it an extra-charge option for the Enterprise Edition.[2]

Functionality

Oracle RAC allows multiple computers to run Oracle RDBMS software simultaneously while accessing a single database, thus providing a clustered database.

In a non-RAC Oracle database, a single instance accesses a single database. The database consists of a collection of data files, control files, and redo logs located on disk. The instance comprises the collection of Oracle-related memory and operating system processes that run on a computer system.

In an Oracle RAC environment, two or more computers (each with an instance) concurrently access a single database. This allows an application or user to connect to either computer and have access to a single coordinated set of data.

Aims

Implementation

Oracle RAC depends on the infrastructure component Oracle Clusterware to coordinate multiple servers and their sharing of data storage.[3] FAN (Fast Application Notification) technology detects down-states.[4]

Cache Fusion

Prior to Oracle 9, network-clustered Oracle databases used a storage device as the data-transfer medium (meaning that one node would write a data block to disk and another node would read that data from the same disk), which had the inherent disadvantage of lackluster performance. Oracle 9i addressed this issue: RAC uses a dedicated network-connection for communications internal to the cluster.

Since all computers/instances in an RAC access the same database, the overall system must guarantee the coordination of data changes on different computers such that whenever a computer queries data it receives the current version — even if another computer recently modified that data. Oracle RAC refers to this functionality as Cache Fusion. Cache Fusion involves the ability of Oracle RAC to "fuse" the in-memory data cached physically separately on each computer into a single, global cache.

Versions

  • Oracle Real Application Clusters One Node (RAC One Node) applies RAC to single-node installations running Oracle Database 11g Release 2 Enterprise Edition.[5]

Evolution

Relative to the single-instance Oracle database, Oracle RAC adds additional complexity. While database automation makes sense for single-instance databases, it becomes even more necessary for clustered databases because of their increased complexity.

Oracle Real Application Clusters (RAC), introduced with Oracle9i in 2001, supersedes the Oracle Parallel Server (OPS) database option. Whereas Oracle9i required an external clusterware (known as vendor clusterware like Veritas or Sun Cluster) for most of the Unix flavors (except for Linux and Windows where Oracle provided free clusterware called Cluster Ready Services or CRS), as of Oracle 10g, Oracle's clusterware product was available for all operating systems. With the release of Oracle Database 10g Release 2 (10.2), Cluster Ready Services was renamed to Oracle Clusterware. When using Oracle 10g or higher, Oracle Clusterware is the only clusterware that you need for most platforms on which Oracle RAC operates (except for Tru cluster, in which case you need vendor clusterware). You can still use clusterware from other vendors if the clusterware is certified for Oracle RAC.

In RAC the write-transaction must take ownership of the relevant area of the database: typically this involves a request across the cluster interconnection (local IP network) to transfer the data-block ownership from another node to the one wishing to do the write. This takes a relatively long time (from a few milliseconds to tens of milliseconds) compared to single database-node using in-memory operations. For many types of applications, the time spent coordinating block access across systems is low relative to the many operations on the system, and RAC will scale comparably to a single system. Moreover, high read-transactional databases (such as data-warehousing applications) work very well under RAC, as no need for ownership-transfer exists. (Oracle 11g has made many enhancements in this area and performs a lot better than earlier versions for read-only workloads[citation needed].)

The overhead on the resource mastering (or ownership-transfer) is very minimal for fewer than three nodes, as the request for any resource in the cluster can be obtained in a maximum of three hops (owner-master-requestor). This makes Oracle RAC horizontally scalable with many nodes. Application vendors (such as SAP) use Oracle RAC to demonstrate the scalability of their application. Most of the biggest OLTP benchmarks are on Oracle RAC. Oracle RAC 11g supports up to 100 nodes.[6]

For some[which?] applications, RAC may require careful application-partitioning to enhance performance. An application which scales linearly on an SMP machine may scale linearly under RAC. However, if the application cannot scale linearly on SMP, it will not scale when ported to RAC. In short the application scalability is based on how well the application scales in a single instance.

Competitive context

Shared-nothing and shared-everything architectures each have advantages over the other. DBMS vendors and industry analysts regularly debate the matter; for example, Microsoft touts a comparison of its SQL Server 2005 with Oracle 10g RAC by Performance Tuning Corporation.[7]

Oracle Corporation offered a Shared Nothing architecture RDBMS with the advent of the IBM SP and SP2 with the release of 7.x MPP editions, in which virtual shared drives (VSD) were used to create a Shared Everything implementation on a Shared Nothing architecture.

Shared-Everything

"Shared-everything" architectures share both disk and memory between nodes in the cluster. This is in contrast to "shared-nothing" architectures which share neither.

Some commercially-available databases offer a "shared-everything" architecture. IBM DB2 for z/OS (the IBM mainframe operating-system) has provided a high-performance data-sharing option since the mid 1990s when IBM released its mainframe hardware and software-clustering infrastructure. In late 2009, IBM announced DB2 pureScale, a shared-disk clustering scheme for DB2 9.8 on AIX that mimics the parallel sysplex implementation behind DB2 data sharing on the mainframe.

In February 2008, Sybase released its Adaptive Server Enterprise, Cluster Edition. It resembles Oracle RAC in its shared-everything design. See Sybase ASE Cluster Edition's data sheet here for details.

Although technically not shared-everything, Sybase also provides a column-based relational database focused on analytic and datawarehouse applications called Sybase IQ which can be configured to run in a shared disk mode.

ScaleDB provides a storage engine that transforms MySQL into a shared-disk database much like Oracle RAC. ScaleDB's Cache Accelerator Server (CAS) is a tier-based cache sharing solution that compares to Oracle's peer-based Cache Fusion.

Shared-Nothing

"Shared-nothing" architectures share neither disk nor memory between nodes in the cluster. This is in contrast to "shared-everything" architectures, which share both.

Competitive products offering shared-nothing architectures include:

  • MySQL Cluster (Oracle Corporation has owned MySQL since 2009) [8]
  • IBM InfoSphere Warehouse editions that include the Database Partitioning Feature (formerly known as DB2 Extended Enterprise Edition)
  • Greenplum
  • Paraccel
  • Netezza (aka. Netezza Performance Server)
  • Teradata
  • Vertica
  • Lexst Database Cluster

See also

External links

Bibliography

References

  1. ^ Options and Packs
  2. ^ Oracle Database 11g: Product Editions & Features
  3. ^ Introduction to Oracle Real Application Clusters
  4. ^ Mensah, Kuassi (2006). Oracle database programming using Java and Web services. Digital Press. p. 400. ISBN 9781555583293. http://books.google.com/books?id=T0GvgQYG070C. Retrieved 2011-09-11. "The Fast Application Notification (FAN) mechanism [...] allows the rapid detection of "Instance DOWN" or "Node DOWN events [...]" 
  5. ^ "Oracle Real Application Clusters One Node: Better Virtualization for Databases". Find White Papers. 2009-12-09. http://www.findwhitepapers.com/content7516/. Retrieved 2010-04-19. "Oracle RAC One Node provides: . Always on single-instance database services . Better consolidation for database servers . Enhanced server virtualization . [,,,] should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption. [...] Oracle Real Application Clusters (RAC) One Node is a new option to Oracle Database 11g Release 2 Enterprise Edition. It provides enhanced high availability for singleinstance databases," 
  6. ^ http://www.oracle.com/technology/products/database/clustering/pdf/ds_rac11g.pdf
  7. ^ Thomas, Bryan (2006-05-30). "Solutions for Highly Scalable Database Applications: An analysis of architectures and technologies" (PDF). Microsoft. http://download.microsoft.com/download/a/4/7/a47b7b0e-976d-4f49-b15d-f02ade638ebe/OracleRAC.pdf. Retrieved 2007-09-09. 
  8. ^ "Oracle buys Finnish open-source developer". InfoWorld. October 7, 2005. http://www.infoworld.com/d/data-management/oracle-buys-finnish-open-source-developer-519.  "Oracle Buys SUN; MySQL is Forked". Linux Magazine. April 20, 2009. http://www.linux-mag.com/id/7309/. 

.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Oracle RAC — Oracle Real Application Clusters (RAC) es una opción software para el SGBD Oracle producida por la Corporación Oracle. Contenido 1 Introducción 2 Cache Fusion 3 Beneficios 4 Competidores …   Wikipedia Español

  • Oracle RAC — (Oracle Real Application Cluster) ist eine zusätzliche Option des Datenbankmanagementsystems der Firma Oracle. Oracle RAC ermöglicht Ausfallsicherheit, indem mehrere Knoten eines Rechnerverbundes (engl. Cluster) auf dieselbe Datenbank zugreifen… …   Deutsch Wikipedia

  • Oracle RAC — Oracle Real Application Clusters (RAC)  программное обеспечение для кластеризации и повышения доступности для Oracle Database. Oracle поставляет RAC как дополнение к Oracle Database, бесплатное для стандартной редакции СУБД… …   Википедия

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

  • Oracle Real Application Cluster — Oracle RAC (Oracle Real Application Cluster) ist eine zusätzliche Option des Datenbankmanagementsystems der Firma Oracle. Oracle RAC ermöglicht Ausfallsicherheit, indem mehrere Knoten eines Rechnerverbundes (engl. Cluster) auf dieselbe Datenbank… …   Deutsch Wikipedia

  • Oracle cluster — Oracle RAC (Oracle Real Application Cluster) ist eine zusätzliche Option des Datenbankmanagementsystems der Firma Oracle. Oracle RAC ermöglicht Ausfallsicherheit, indem mehrere Knoten eines Rechnerverbundes (engl. Cluster) auf dieselbe Datenbank… …   Deutsch Wikipedia

  • Oracle (DBMS) — 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

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

  • Oracle Clusterware — Oracle Cluster Ready Services (kurz CRS oder OCRS) ist der Cluster Manager der Firma Oracle. Inzwischen wird das Teilprodukt des Oracle RAC unter dem Namen Oracle Clusterware (kurz OCW) angeboten. Er steht ab Version 10.2 für Oracle Datenbanken… …   Deutsch Wikipedia

Share the article and excerpts

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