Oracle Real Application Clusters 10g

Computers & TechnologyTechnology

  • Author Jignesh Padhiyar
  • Published May 7, 2008
  • Word count 1,262

What Is Oracle Real Application Clusters 10G?

Oracle Real Application Clusters is an option of Oracle Database that was first introduced with Oracle 9i.Oracle Real Application Clusters is now proven technology used by thousands of customers in every industry in every type of application. Oracle RAC provides option for scaling applications beyond the capabilities of a single server. This allows customers to take advantage of lower cost commodity hardware to reduce their total cost of ownership and provide a scalable computing environment that supports their application workload. Oracle RAC provides the ability to remove the server as a single point of failure in any database application environment.

Real Application Clusters Architecture

A RAC database is a clustered database. A cluster is a group of independent servers that cooperate as a single system .Clusters provide improved fault resilience and modular incremental system growth over single symmetric multiprocess(SMP) systems. In the event of a system failure,clustering ensures high availability to users. Access to mission critical data is not lost.

Redundant hardware components such as additional nodes,interconnects and disks allow the cluster to provide high availability. Such redundant hardware architectures avoid single points-of-failure and provide exceptional fault resilience.

With Real Application Clusters,we de-couple the Oracle Instance (the processes and memory structures running on a server to allow access to the data) from the Oracle database(the physical structures residing on storage which actually hold the data,commonly known as data files).

A clustered database is a single database that can be accessed by multiple instances. Each instance runs on a separate server in the cluster. When additional resources are required, additional nodes and instances can be easily added to the cluster with no downtime. Once the new instance is started, application using services can immediately take advantages of it with no changes to the application or application server.

Oracle Clusterware

Oracle provides Oracle Clusterware, a portable clusterware solution that is integrated and designed specifically for Oracle Database. You no longer have to purchase third party clusterware in order to have a RAC database. Oracle Clusterware monitors and manages Real Application Cluster databases. When a node in the cluster is started, all instances,listeners and services are automatically started. If an instance fails the clusterware will automatically restart the instance so the service is often restored before the administer notices it was down.

Hardware Architecture

Oracle Real Application Clusters is shared everything architecture. All servers in the cluster must share all storage used for a RAC database. The type of disk storage used can be network attached storage(NAS),storage area network(SAN), or SCSI disk. Your storage choice is dictated by the server hardware choice and what your hardware vendor supports. Choosing a storage system that will provide scalable I/O for your application an I/O system that will scale as additional servers are added to the cluster.

A Cluster requires an additional network to the Local Area Network (LAN) that a database server is attached to for application connections. A cluster require a second server is attached to for application connections. A cluster requires a second private network commonly known as the interconnect. Oracle recommends that you use 2 network interfaces for this network for high availability purposes. A network interface bonding external to Oracle should be used to provide fail over and load balancing. The interconnect is used by cluster for inter-node messaging. The interconnect is also used by RAC to implement the cache fusion technology.

Virtual Internet Protocol Address (VIP)

Oracle RAC 10g requires a virtual IP address for each server in the cluster. The virtual IP address is an unused IP address on the same subnet as LAN. This address is used by application to connect to the RAC database. If a node fails, the virtual IP is failed over to another node in the cluster to provide an immediate note down response to connection requests.

Benefits of Real Applications Clusters

Scalability

Scalability is the ability to add additional nodes to Real Application Clusters and achieve markedly improved performance. Real Application Clusters can take advantage of additional equipment and harness the processing power of multiple systems.

All servers in the cluster must run the same operating system and same version of oracle but they do not have to be exactly the same capacity.

High Availability

The term high availability refers to systems with redundant components that provide consistent, uninterrupted service, even in the event of hardware or software failures. In most high availability configurations, nodes are isolated from each other so a failure at one node does not affect the entire system. In such a case, surviving nodes compensate for the loss of the failed node through recovery and

the system continues to provide data access to users. This means data is consistently

available, more so than it would be with a single node upon node failure. High availability also implies increased database availability.

Transparency

The concept of transparency is the functional equivalent of single instance Oracle and shared configurations that use Real Application Clusters. Applications that run on single instance Oracle execute with the same results using Real Application Clusters. An Oracle database can be configured to execute in three different modes:

• Single instance exclusive

• Shared with a single instance

• Shared with two or more instances

Buffer Cache Management

Within a single instance, Oracle stores resources, such as data block information, in a buffer cache that resides in memory. Storing this information locally reduces the disk Input/Output (I/O) necessary for database operations. Since each node in Real Application Clusters has its own memory that is not shared with other nodes, Real Application Clusters must coordinate the buffer caches of different nodes while minimizing additional disk I/O that could reduce performance. The Oracle Global Cache Service technology maintains the high-performance features of Oracle while coordinating multiple buffer caches.

Fast Commits, Group Commits, and Deferred Writes

Fast commits, group commits, and deferred writes operate on each instance in Oracle and work the same whether in exclusive or shared mode. Oracle only reads data blocks from disk if they are not already in the buffer caches of one of the instances. Because data block writes are deferred, they often contain modifications from multiple transactions. Optimally, Oracle writes modified data blocks to disk only when necessary:

• When the blocks have not been used recently and new data requires buffer cache space (in shared or exclusive mode)

• During checkpoints (in shared or exclusive mount mode)

• When another instance needs the blocks (only in shared mode)

• Cache copies of dirty blocks (changed blocks) across the interconnect (write/write consistency).

Row Locking and Multi version Read Consistency

Oracle’s row locking feature allows multiple transactions from separate nodes to lock and update different rows of the same data block. This is done without any of the transactions waiting for the others to commit. If a row has been modified but not yet committed, then the original row values are available to all instances for read access. This is called multi version read consistency.

Online Backups and Archiving

Real Application Clusters supports all Oracle backup features that are available in exclusive mode, including both online and offline backups of either an entire database or individual table spaces. If you operate Oracle in ARCHIVELOG mode, then each online redo log file is made into an archive (ARCH) file before it is overwritten. In Real Application Clusters, each instance can automatically archive its own redo log files or one or more instances can manually archive the redo log files for all instances.

SPEC India is a Custom Software Application Development and Software Solutions Company based in Ahmedabad, India. Our Services includes Legacy Application Migration and Interfaces, Java Application Development, ORACLE, .Net, and Mobile Computing.

Article source: https://articlebiz.com
This article has been viewed 1,741 times.

Rate article

Article comments

There are no posted comments.

Related articles