Oracle RAC
Oracle RAC
This section discusses Oracle RAC: its architecture, infrastructure requirements, and main
components.
RAC Architecture
Oracle Real Application Cluster (RAC) is an Oracle Database option, based on a share
everything architecture. Oracle
RAC clusters multiple servers that then operate as a single system. In this cluster, each
server actively accesses the
shared database and forms an active-active cluster configuration. Oracle first introduced
this active-active cluster
database solution, called Oracle Parallel Server (OPS), in Oracle 6.2 on VAX/VMS. This
name was used until 2001,
when Oracle released Oracle Real Application Clusters (RAC) in Oracle Database 9i. Oracle
RAC supersedes OPS with
many significant enhancements including Oracle Clusterware and cache fusion technology.
In the Oracle RAC configuration, the database files are stored in shared storage, which
every server in the cluster
shares access to. As shown in Figure 1-1, the database runs across these servers by having
one RAC database instance
on a server. A database instance consists of a collection of Oracle-related memory plus a
set of database background
processes that run on the server. Unlike a single-node database, which is limited to one
database instance per database,
a RAC database has one or more database instances per database and is also built to add
additional database instances
easily. You can start with a single node or a small number of nodes as an initial
configuration and scale out to more
nodes with no interruption to the application. All instances of a database share
concurrent access to the database files.
User connections
RAC
Instance1
RAC
Database
RAC
Instance2
RAC
Instance3
Cluster
Interconnect
Node1
Node2 Node3