首页> 外国专利> Transaction commit protocol with recoverable commit identifier

Transaction commit protocol with recoverable commit identifier

机译:具有可恢复提交标识符的事务提交协议

摘要

Technologies are described for facilitating database system recovery in a distributed database environment having a master node and at least one slave node. The master node maintains an in-memory reference that includes transaction identifiers and their corresponding commit identifiers. When a slave node requests that a commit identifier be assigned to a transaction, the transaction and commit identifiers for the transaction are added to the in-memory reference. The commit identifier is sent by the master node to the slave node. The slave node writes a log entry to a commit log that includes the transaction identifier and the assigned commit identifier. If the database system is interrupted before the slave node writes the commit log entry, the slave node can request the commit identifier for the transaction from the master node, which retrieves the identifier from the in-memory reference.
机译:描述了用于在具有主节点和至少一个从节点的分布式数据库环境中促进数据库系统恢复的技术。主节点维护一个内存中引用,该引用中包含事务标识符及其对应的提交标识符。当从属节点请求将提交标识符分配给事务时,该事务和该事务的提交标识符将添加到内存引用中。提交标识符由主节点发送到从节点。从节点将日志条目写入包含事务标识符和已分配的提交标识符的提交日志。如果数据库系统在从属节点写入提交日志条目之前已中断,则从属节点可以向主节点请求事务的提交标识符,该主节点从内存引用中检索该标识符。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号