|
|
Parallel Database ClustersThe parallel clustered database is a complex application, which provides access to the same database (group of data tables, indexes, and other objects) from any server in the cluster concurrently, without compromising data integrity. Well known examples include Oracle Real Application Cluster, IBM UDB DB2 Enterprise Extended Edition (EEE), and IBM S/390 Parallel Sysplex Clusters. Parallel databases typically contain multi-node servers accessing the same physical storage or data concurrently. PDB architecture allows multi-server data sharing technology, allowing direct, concurrent read/write access to shared data from all the processing nodes in the parallel configuration. This however, necessitates complex lock management to maintain the data integrity and resource coordination. A parallel clustered system may use either of two types of storage access, the shared nothing model and the shared disk model. Shared-Nothing ModelThe shared-nothing model system, also termed a data-partitioning model, owns a portion of the database and each partition can only be read or modified by the owning system. [Fig 3.11] Data partitioning enables each system to locally cache its portion of the database in processor memory, without requiring cross-system communication to provide data access concurrency and coherency controls. Each server in the cluster has its own independent subset of the data (a partition) it can work on independently, without encountering resource contention from other servers. The clustered nodes communicate by passing messages through a network that interconnects the servers. Client requests are automatically routed to the system that owns the particular resource (for example, memory or disk). Only one of the clustered systems can "own" and access a particular resource at a time. In the event of a failure, resource ownership can be dynamically transferred to another system in the cluster. Fig 3.11 Shared Nothing Mode – Three Node database cluster This architecture has several advantages:
However, it suffers from some drawbacks:
Shared-Disk ModelIn the shared-disk model, all the disks containing data are accessible by all nodes of the cluster. Disk sharing architecture requires suitable lock management techniques to control the update concurrency control. Each of the nodes in the cluster has direct access to all disks on which shared data is placed. Fig 3.12 shows a typical three-node parallel database cluster. Each node has a local database buffer cache. IBM Parallel Sysplex and Oracle RAC systems follow this approach of shared-disk. Advantages of shared-disk systems are as follows:
Disadvantages of shared-disk systems are these:
Fig 3.12 Shared Disk Parallel Database Cluster For more information, see the book Oracle 11g Grid and Real Application Clusters - 30% off if you buy it directly from Rampant TechPress . Written by top Oracle experts, this RAC book has a complete online code depot with ready to use RAC scripts.
|
|
|