Moving database partitions from replica nodes
AssigneeAmazon Technologies, Inc.
InventorsSandeep Bhatia, Ming-Chuan Wu, Kanishka Chaturvedi, Andrew Whitaker
Life of this patent
Estimating the term…
Abstract
Replicated partitions of a database may be moved from one or more replica nodes to a different primary node. The replica nodes may maintain replicated partitions of one or more primary partitions of a primary node servicing access requests to the primary partitions. The replicated partitions may be copied to a different node in order to cause the processing of access requests directed to primary partitions to be serviced by the different node. Replicated partitions of a database may be moved from replica nodes to perform a split operation or a merger operation.
Claims20
A system, comprising:
- a memory to store program instructions which, when performed by at least one processor, cause the at least one processor to perform a method to at least:
- copy a replicated partition of a database from one or more replica nodes to a second primary node, wherein the replicated partition is a replica of one of a plurality of different partitions of the database stored at a first primary node;
- and
- direct access requests for the one partition to the replicated partitions at the second primary node, wherein access requests to other ones of the plurality of different partitions of the database are serviced by the first primary node.
A method, comprising:
- generating a replicated partition of a database from one or more replica nodes, wherein the replicated partition is a replica of one of a plurality of different partitions of the database stored at a first primary node;
- sending the replicated partition to a second primary node;
- and
- directing access requests for the one partition to the replicated partition at the second primary node, wherein access requests to other ones of the plurality of different partitions of the database are serviced by the first primary node.
A non-transitory, computer-readable storage medium, storing program instructions that when executed by one or more computing devices cause the one or more computing devices to implement:
- copying a replicated partition of a database from one or more replica nodes to a second primary node, wherein the replicated partition is a replica of one of a plurality of different partitions of the database stored at a first primary node;
- and
- directing access requests for the one partition to the replicated partition at the second primary node, wherein access requests to other ones of the plurality of different partitions of the database are serviced by the first primary node.
Dependencies are inferred from the claim text.