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: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of replicating data for a distributed database between a plurality of instances, each instance comprising one or more server computers with memory and one or more processors, the method comprising: identifying a first instance of the distributed database at a first geographic location; identifying a second instance of the distributed database at a second geographic location; tracking changes to the distributed database at the first instance by storing deltas, each delta having a row identifier that identifies a piece of data modified, a sequence identifier that specifies an order in w
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Barrett, How Index Building Works, Google Code, Nov. 24, 2008, 3 pgs.
- Chang, F. et al., "Bigtable: A Distributed Storage System for Structured Data," OSDI, 2006, 14 pages.
- Ghemawat, S. et al., "The Google File System," SOSP '03, Oct. 19-22, 2003, 15 pages.
- Google Code, "Protocol Buffers, Language Guide," http://code.google.com/apis/protocolbuffers/docs/proto.html, 2011, 16 pages.
- Google Inc., PCT/US2011/024246, Feb. 9, 2011, International Search Report and Written Opinion mailed Apr. 26, 2011, 9 pgs.