首页> 外国专利> 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.
机译:具有“无共享”系统架构的数据库服务器具有多个节点,每个节点都有自己的中央处理单元,用于存储数据库表和其他数据结构的主存储器和辅助存储器以及用于与其他节点进行通信的通信通道。节点分为不共享资源的第一组和第二组。系统中的每个数据库表都分为多个片段,这些片段出于存储目的而分布在系统中的所有节点上。为了确保节点故障后的连续数据可用性,每个片段的“主副本”和“备用副本”分别存储在第一组和第二组不同的节点上。使用主片段副本执行数据库事务,并使用事务日志记录更新备用副本。系统的每个节点都包括一个数据字典,该数据字典存储指示每个主片段副本和备用片段副本存储在何处的信息。每个数据库表的记录在表片段之间尽可能均匀地分配。每个节点上的事务管理器通过确定查询正在访问数据库的哪个片段,然后将数据库查询转发到存储该片段的主副本的节点处理器来响应数据库查询。一旦系统中任何一个数据处理器发生故障,每个节点都会相应地更新其数据字典中的信息。此外,将重新生成由于节点故障而变得不可用的片段副本,并将其存储在与故障节点相同的节点组中的其余可用节点上。

著录项

  • 公开/公告号US5423037A

    专利类型

  • 公开/公告日1995-06-06

    原文格式PDF

  • 申请/专利权人 TELESERVE TRANSACTION TECHNOLOGY AS;

    申请/专利号US19940336331

  • 发明设计人 SVEIN-OLAF HVASSHOVD;

    申请日1994-11-08

  • 分类号G06F9/28;G06F15/177;G06F17/30;

  • 国家 US

  • 入库时间 2022-08-22 04:04:51

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号