Method and system for efficiently replicating data in non-relational databases
Abstract
A method replicates data between instances of a distributed database. The method identifies at least two instances of the database at distinct geographic locations. The method tracks changes to the database by storing deltas. Each delta has a row identifier that identifies the piece of data modified, a sequence identifier that specifies the order in which the deltas are applied to the data, and an instance identifier that specifies where the delta was created. The method determines which deltas to send using an egress map that specifies which combinations of row identifier and sequence identifier have been acknowledged as received at other instances. The method builds a transmission matrix that identifies deltas that have not yet been acknowledged as received. The method then transmits deltas identified in the transmission matrix. After receiving acknowledgement that transmitted deltas have been incorporated into databases at other instances, the method updates the egress map.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 19.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of compacting a distributed database having a plurality of instances, wherein each instance stores data on one or more server computers and each server computer has memory and one or more processors, the method comprising: identifying a first instance of the distributed database from the plurality of instances; selecting a set of one or more row identifiers that identify rows in the distributed database, wherein each respective row in the distributed database has a respective base value and a respective set of zero or more respective deltas, and wherein each respective delta: specifie
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 19 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Barrett, How Index Building Works, Google Code, Nov. 24, 2008, 3 pgs.
- Chang, Bigtable: A distributed storage system for structured data, Oct. 31, 2006, 14 pgs.
- Ghemawat, The Google file system, SOSP '03, Oct. 19-22, 2003, 15 pgs.
- Google Code, Protocol Buffer Language Guide, code.google/apis/protocolbuffers/docs/proto.html, 2011, 16 pgs.
- Google Inc., International Search Report and Written Opinion, PCT/US2011/024246, Apr. 26, 2011, 8 pgs.