SYSTEM USING VIRTUAL REPLICATED TABLES IN A CLUSTER DATABASE MANAGEMENT SYSTEM
First Claim
1. A system for improved data sharing within a cluster of nodes having a database management system, comprising:
- a network;
a node computer system connected to the network, the node computer system comprising;
a processor;
a memory coupled to the processor;
a database connected to the node computer system, the database comprising;
a virtual replicated table useable in a hybrid of a shared-cache and shared-nothing architecture and comprising a physically single table sharable among a plurality of cluster nodes for data read operations and the physically single table being not sharable with other cluster nodes for data modification operations;
means for performing a read operation on virtual replicated table data in a shared-cache mode in a local node using a local buffer cache, the read operation for each requested page performing lock synchronization, caching pages from the virtual replicated table into the local buffer cache, retrieving data from the page, and performing cleanup and page unlocking; and
means for performing a modification operation on the virtual replicated table data exclusively in a shared-nothing mode, the modification operation shipped to and executed exclusively in the owner node using a local buffer cache in a shared-nothing algorithm and performing lock synchronization, caching pages from the virtual replicated table into the local buffer cache, retrieving and modifying data from the page, and performing cleanup and page unlocking.
3 Assignments
0 Petitions
Accused Products
Abstract
A system for improved data sharing within a cluster of nodes having a database management system. The system defines a virtual replicated table as being useable in a hybrid of a shared-cache and shared-nothing architecture. The virtual replicated table is a physically single table sharable among a plurality of cluster nodes for data read operations and not sharable with other cluster nodes for data modification operations. Default owner node is assigned for each virtual replicated table to ensure the page validity and provide requested pages to the requesting node.
-
Citations
12 Claims
-
1. A system for improved data sharing within a cluster of nodes having a database management system, comprising:
-
a network; a node computer system connected to the network, the node computer system comprising; a processor; a memory coupled to the processor; a database connected to the node computer system, the database comprising; a virtual replicated table useable in a hybrid of a shared-cache and shared-nothing architecture and comprising a physically single table sharable among a plurality of cluster nodes for data read operations and the physically single table being not sharable with other cluster nodes for data modification operations; means for performing a read operation on virtual replicated table data in a shared-cache mode in a local node using a local buffer cache, the read operation for each requested page performing lock synchronization, caching pages from the virtual replicated table into the local buffer cache, retrieving data from the page, and performing cleanup and page unlocking; and means for performing a modification operation on the virtual replicated table data exclusively in a shared-nothing mode, the modification operation shipped to and executed exclusively in the owner node using a local buffer cache in a shared-nothing algorithm and performing lock synchronization, caching pages from the virtual replicated table into the local buffer cache, retrieving and modifying data from the page, and performing cleanup and page unlocking. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program product comprising a computer storage medium tangibly embodying a program of instructions executable to perform operations for improved data sharing within a cluster of nodes having a database management system, the operations of the computer program product comprising:
-
defining a virtual replicated table in the database management system, the virtual replicated table useable in a hybrid of a shared-cache and shared-nothing architecture and comprising a physically single table sharable among a plurality of cluster nodes for data read operations and the physically single table being not sharable with other cluster nodes for data modification operations; performing a read operation on virtual replicated table data in a shared-cache mode in a local node using a local buffer cache, the read operation for each requested page performing lock synchronization, caching pages from the virtual replicated table into the local buffer cache, retrieving data from the page, and performing cleanup and page unlocking; and performing a modification operation on the virtual replicated table data exclusively in a shared-nothing mode, the modification operation shipped to and executed exclusively in the owner node using a local buffer cache in a shared-nothing algorithm and performing lock synchronization, caching pages from the virtual replicated table into the local buffer cache, retrieving and modifying data from the page, and performing cleanup and page unlocking. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification