首页>
外国专利>
Continuously available database server having multiple groups of nodes, each group maintaining a database copy with fragments stored on multiple nodes
Continuously available database server having multiple groups of nodes, each group maintaining a database copy with fragments stored on multiple nodes
展开▼
机译:具有多组节点的连续可用的数据库服务器,每组维护一个数据库副本,其中片段存储在多个节点上
展开▼
页面导航
摘要
著录项
相似文献
摘要
A database server with a "shared nothing" system architecture has multiple nodes, each having its own central processing unit, primary and secondary memory for storing database tables and other data structures, and communication channels for communication with other ones of the nodes. The nodes are divided into first and second groups that share no resources. Each database table in the system is divided into fragments distributed for storage purposes over all the nodes in the system. To ensure continued data availability after a node failure, a "primary replica" and a "standby replica" of each fragment are each stored on nodes in different ones of the first and second groups. Database transactions are performed using the primary fragment replicas, and the standby replicas are updated using transaction log records. Every node of the system includes a data dictionary that stores information indicating where each primary and standby fragment replica is stored. The records of each database table are allocated as evenly as possible among the table fragments. A transaction manager on each node responds to database queries by determining which fragment of a database is being accessed by the query and then forwarding the database query to the node processor on which the primary replica of that fragment is stored. Upon failure of any one of the data processors in the system, each node updates the information in its data dictionary accordingly. In addition, the fragment replicas made unavailable by the node failure are regenerated and stored on the remaining available nodes in the same node group as the failed node.
展开▼