Range query capacity allocation
First Claim
Patent Images
1. A storage and retrieval system comprising:
- a first computing node comprising a first one or more storage devices, the first one or more storage devices configured to store thereon a first plurality of items corresponding to a first range of a table;
a second computing node comprising a second one or more storage devices, the second one or more storage devices configured to store thereon a second plurality of items corresponding to a second range of the table; and
one or more memories having stored thereon computer-readable instructions that, upon execution, cause the system at least to;
receive information indicative of a first amount of work performed by the first computing node, the first amount of work based at least in part on storing one or more of the first plurality of items corresponding to the first range on the first computing node;
receive information indicative of a second amount of work performed by the second computing node, the second amount of work based at least in part on storing one or more of the second plurality of items corresponding to the second range on the second computing node; and
configure the system, in response to determining that the first amount of work is greater than the second amount of work, to process a first subset of a plurality of requests to store items in the first range on the first computing node and a second subset of the plurality of requests to store items in the first range on a third computing node.
1 Assignment
0 Petitions
Accused Products
Abstract
Distributed database management systems may perform range queries over the leading portion of a primary key. Non-random distribution of data may improve performance related to the processing of range queries, but may tend to cause workload to be concentrated on particular partitions. Groups of partitions may be expanded and collapsed based on detection of disproportionate workload. Disproportionate write workload may be distributed among a group of partitions that can subsequently be queried using a federated approach. Disproportionate read workload may be distributed among a group of read-only replicated partitions.
21 Citations
20 Claims
-
1. A storage and retrieval system comprising:
-
a first computing node comprising a first one or more storage devices, the first one or more storage devices configured to store thereon a first plurality of items corresponding to a first range of a table; a second computing node comprising a second one or more storage devices, the second one or more storage devices configured to store thereon a second plurality of items corresponding to a second range of the table; and one or more memories having stored thereon computer-readable instructions that, upon execution, cause the system at least to; receive information indicative of a first amount of work performed by the first computing node, the first amount of work based at least in part on storing one or more of the first plurality of items corresponding to the first range on the first computing node; receive information indicative of a second amount of work performed by the second computing node, the second amount of work based at least in part on storing one or more of the second plurality of items corresponding to the second range on the second computing node; and configure the system, in response to determining that the first amount of work is greater than the second amount of work, to process a first subset of a plurality of requests to store items in the first range on the first computing node and a second subset of the plurality of requests to store items in the first range on a third computing node. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-implemented method for storing and retrieving data, the method comprising:
-
receiving, by a computer, information indicative of a first amount of work performed by a first computing node, the first amount of work based at least in part on storing a first plurality of items on the first computing node, the plurality of items corresponding to a first range of a table; receiving, by the computer, information indicative of a second amount of work performed on one or more additional computing nodes, the amount of work based at least in part on storing a second plurality of items corresponding to a second range of the table on the one or more additional computing nodes; and determining to process at least a first request to add an item to the first range of the table by storing the item on a third computing node instead of the first computing node, the determining based at least in part on the first amount of work being greater than the second amount of work. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable storage medium having stored thereon instructions that, upon execution by a computing device, cause the computing device at least to:
-
receive information indicative of a first amount of work performed by a first computing node, the first amount of work based at least in part on storing a first plurality of items on the first computing node, the plurality of items corresponding to a first range of a table; receive information indicative of a second amount of work performed on one or more additional computing nodes, the amount of work based at least in part on storing a second plurality of items corresponding to a second range of the table on the one or more additional computing nodes; and determine, based at least in part on the first amount of work being greater than the second amount of work, to process at least a first request to add an item to the first range of the table by storing the item on a third computing node. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification