发明名称 |
Database management method |
摘要 |
A lower-level master node sends, to a higher-level master node, a write set expanded in its own memory including a shadow copy of its own database and a heap tuple map, and the higher-level master node that received the write set verifies whether the update has already been executed and sends the record of this update to the lower-level master node as a transaction log, whereby the database can be updated efficiently and consistently from the lower-level master node to the higher-level master node, and from the higher-level master node to the lower-level master node under its control. |
申请公布号 |
US8793234(B2) |
申请公布日期 |
2014.07.29 |
申请号 |
US201313784203 |
申请日期 |
2013.03.04 |
申请人 |
Murakumo Corporation |
发明人 |
Yamada Hiroyuki |
分类号 |
G06F17/30 |
主分类号 |
G06F17/30 |
代理机构 |
Westerman, Hattori, Daniels & Adrian, LLP |
代理人 |
Westerman, Hattori, Daniels & Adrian, LLP |
主权项 |
1. A database management method of a higher-level master node in a recordable database hierarchically including master nodes, comprising:
receiving, by a higher-level master node, a write set generated by a database processing unit of any one of lower-level master nodes from a shadow copy of a database and a heap tuple map expanded in a memory for the database processing unit, when an instruction for updating the database is issued in the lower-level master node; comparing, by the higher-level master node, the heap tuple map in the received write set and the database of the higher-level master node, and verifying, by the higher-level master node, whether a corresponding row of the database registered as a target has been updated by a different write set; and aborting the write set when the update has been performed, and updating the database of the higher-level master node using the shadow copy when the update has not been performed. |
地址 |
Tokyo JP |