Static sorted index replication
First Claim
Patent Images
1. A system, comprising:
- a memory; and
one or more processors coupled to the memory, wherein the memory comprises program instructions executable by the one or more processors to;
receive data to store in a partitioned distributed data store, wherein the partitioned distributed data store includes a plurality of b-tree based replicas, wherein each b-tree based replica is implemented as a data structure in a b-tree;
store the received data in one of the b-trees;
store an indication of the received data in a transaction log associated with the one b-tree; and
store the received data sequentially in a log structured merge (LSM)-based replica of the partitioned distributed data store, wherein the LSM-based replica is implemented as a data structure in an LSM tree, wherein after the data is stored in the LSM-based replica, the data stored in the LSM-based replica is read only.
1 Assignment
0 Petitions
Accused Products
Abstract
Static sorted index replication is described. A method may include receiving data to store in a memory tree of a replica in a partitioned distributed data store. The method may also include storing the received data in the respective memory tree of one of a plurality of replicas. The method may further include storing the received data sequentially in a static sorted index.
-
Citations
23 Claims
-
1. A system, comprising:
-
a memory; and one or more processors coupled to the memory, wherein the memory comprises program instructions executable by the one or more processors to; receive data to store in a partitioned distributed data store, wherein the partitioned distributed data store includes a plurality of b-tree based replicas, wherein each b-tree based replica is implemented as a data structure in a b-tree; store the received data in one of the b-trees; store an indication of the received data in a transaction log associated with the one b-tree; and store the received data sequentially in a log structured merge (LSM)-based replica of the partitioned distributed data store, wherein the LSM-based replica is implemented as a data structure in an LSM tree, wherein after the data is stored in the LSM-based replica, the data stored in the LSM-based replica is read only. - View Dependent Claims (2, 3)
-
-
4. A method, comprising:
performing, by one or more computers; receiving data to store in a partitioned distributed data store, wherein the partitioned distributed data store includes a plurality of b-tree based replicas, wherein each b-tree based replica is implemented as a data structure in a memory tree; storing the received data in the respective memory tree of one of the plurality of replicas; sequentially storing the received data in a static sorted index of the partitioned distributed data store; and after said sequentially storing; receiving and storing other data in the respective memory tree of one of the plurality of replicas, and storing an indication of the other data in one or more transaction logs; and generating a new replica to replace a failed replica by applying updates corresponding to the stored other data indicated in the one or more transaction logs to a copy of the sequentially stored data from the static sorted index. - View Dependent Claims (5, 6, 7, 8, 9, 10, 11, 12)
-
13. A non-transitory computer-readable storage medium storing program instructions, wherein the program instructions are computer-executable to implement:
-
receiving data to store in a partitioned distributed data store, wherein the partitioned distributed data store includes a plurality of index data structures, wherein each index data structure is implemented as a b-tree based memory tree; storing the received data in the respective memory tree of one of the plurality of index data structures; and storing the received data sequentially in a log structured merge (LSM)-based index data structure, wherein the LSM-based index data structure is implemented as an LSM tree, wherein after the received data is stored sequentially in the LSM-based index data structure, the received data in the LSM-based index data structure is read only. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
-
20. A method, comprising:
performing, by one or more computers; receiving data to store in a partitioned distributed data store, wherein the partitioned distributed data store includes a plurality of b-tree based replicas, wherein each b-tree based replica is implemented as a data structure in a memory tree; storing the received data in the respective memory tree of one of the plurality of replicas; receiving other data to store in the partitioned data store; storing the other received data in the respective memory tree of one of the plurality of replicas; generating a read only sorted replica, wherein said generating includes storing the received data and other data sequentially in the read only sorted replica, wherein the read only sorted replica is read only after the received data and other data are sequentially stored; performing said generating one or more additional times for additional received data resulting in one or more additional read only sorted replicas; and after reaching a threshold quantity of read only sorted replicas, merging the read only sorted replica and the one or more additional read only sorted replicas into a single merged read only sorted replica. - View Dependent Claims (21, 22, 23)
Specification