Database table comparison
Abstract
Techniques are disclosed for comparing database tables. In one embodiment, the database tables are partitioned. Queries are generated for retrieving each partition. For each generated query, a stored procedure is invoked, using the respective generated query as an input parameter to the stored procedure. The stored procedure is configured to generate a checksum based on the partition retrieved from executing the respective query. The application compares the generated checksums to determine if the partitions and/or tables are consistent.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method to reduce an amount of network traffic incurred in comparing database tables replicated across a network, the database tables including a first database table and a second database table, the computer-implemented method comprising: identifying at least one key range, each key range of which pertains to a first target partition of a respective one of the first database table and the second database table; generating, based on the identified at least one key range and for each the first and second database tables, a respective database query configured to retrieve t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "mk-table-sync-Scnchronize MySQL table data efficiently" http://www.maatkit.org/doc/mk-table-sync.html As indexed by archive.org on Sep. 7, 2009.
- "Sort vs. Hash Revisited" Goetz Graefe. Ann Linville, and Leonard D. Shapiro Dec. 1994.
- Batiste, R.D., Method to Provide Software Calculation of 32-Bit Frame Check Sequence, A Byte at a Time, May 1988, pp. 458-464, vol. 30., No. 12, IBM, Armonk, New York. United States.
- Coelho, Fabien, Remote Comparison of Databes Tables Technical Report A/375/CRI, The Third International Conference on Advances in Databases, Knowledge, and Data Applications, Jan. 23, 2011, pp. 23-28, IARIA, St. Maarten, The Netherlands Antilles.
- Hernandez, Mauricio A. et al., The Merge/Purge Problem for Large Databases, Proceedings of the 1995 ACM SIGMOD international conference on Management of data, May 1995, pp. 127-138, vol. 24, Issue 2, ACM, New York, New York, United States.