发明名称 METHODS AND SYSTEMS FOR INCREASING CAPACITY AND PERFORMING DATA REBALANCING WITHOUT DOWNTIME TO A DISTRIBUTED SHARED-NOTHING DATABASE WITH SERIALIZABLE ISOLATION
摘要 A distributed shared-nothing database provides serializable isolation for transactions and includes a mechanism for adding storage and processing capacity to the database without stopping the database from processing transactions.
申请公布号 US2015186187(A1) 申请公布日期 2015.07.02
申请号 US201414549062 申请日期 2014.11.20
申请人 VoltDB, Inc. 发明人 Weisberg Ariel D.;Shi Ning;Cooper Steven Z.;Santoro Stefano M.
分类号 G06F9/50;G06F17/30 主分类号 G06F9/50
代理机构 代理人
主权项 1. In a distributed shared-nothing database system maintaining data across a plurality of logical partitions each having a single thread of execution and being allocated to a position on a consistent hash ring, a computer-implemented method for transparently performing data rebalancing with serializable isolation when new logical partitions are added to the database system, the method comprising the steps of: (a) calculating a desired consistent hash ring including an added new partition to the database system in one or more positions in the consistent hash ring previously allocated to one or more pre-existing partitions; (b) generating an index identifying data to be moved from said one or more pre-existing partitions to the new partition; (c) executing a series of rebalancing transactions in serialized transaction queues on said one or more pre-existing partitions and the new partition to transfer different portions of the data to be moved from said one or more pre-existing partitions to the new partition, while maintaining serializable isolation, and updating the consistent hash ring after each rebalancing transaction has been executed to reflect transfer of the data from said one or more pre-existing partitions to the new partition; and (d) rerouting in-flight transactions to the new partition for data moved from the one or more pre-existing partitions to the new partition.
地址 Bedford MA US