发明名称 Apparatus and method of managing databases of active node and standby node of main memory database management system
摘要 Databases of an active node and a standby node of a main memory database management system (MMDBMS) are managed so as to prevent loss of a transaction caused by failure of any one of the active node or the standby node. The MMDBMS is configured to prevent data mismatch between the active node and the standby node when failure of any one of the active node and the standby node occurs. In case of failure of one of the nodes, log information from the other node is obtained to recover the failed node.
申请公布号 US8862936(B2) 申请公布日期 2014.10.14
申请号 US201213456827 申请日期 2012.04.26
申请人 Altibase Corporation 发明人 Lee Seung-Won
分类号 G06F11/00 主分类号 G06F11/00
代理机构 Fenwick & West LLP 代理人 Fenwick & West LLP
主权项 1. An apparatus for managing a database of an active node of a main memory database management system (MMDBMS) that is replicated from the active node to a standby node, the apparatus comprising: a memory logging unit that records a database log to which a sequence number is sequentially allocated in a log buffer of a memory of the active node; a replicating unit that replicates the database log to the standby node, wherein the standby node maintains a mapping from sequence numbers of database logs received from the active node to sequence numbers of replication logs stored in the standby node, the replication logs corresponding to received database logs, the mapping further associating the sequence numbers of the database logs received to corresponding transactions; a disk flushing unit that periodically flushes the database log to a disk of the active node; and a recovering unit that, when failure of the active node occurs: identifies a database log that is stored in the disk as a last recovered log;transmits a sequence number of the last recovered log to the standby node,receives at least one replication log belonging to a transaction comprising a lost log recorded after the last recovered log from the standby node, wherein the standby node identifies the replication log and the transaction based on the mapping, andrecovers the database of the active node based on the at least one replication log.
地址 Seoul KR