MapReduce-based CDC (Change Data Capture) method of MYSQL database
A technology of changing data capture and database, applied in the field of data capture, which can solve the problems of delay in synchronization operation and complex algorithm implementation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0091] Aiming at the I / O cost problem of database files, the present invention realizes a SQL query with summary through the open source code of MYSQL, thereby reduces the I / O cost of generating the snapshot file containing summary; In order to improve the speed and correctness of snapshot difference and large data volume problems, such as figure 1 As shown, the present invention proposes a snapshot difference algorithm based on Hadoop MapReduce parallel framework.
[0092] 1. SQL query select into outfile with summary
[0093] The process of finding the difference is to compare the corresponding lines in the two snapshot files. One method is to compare the attribute values in the corresponding lines one by one. If the number of attributes is large, the cost of this comparison will be very high; The attribute value generates a summary, and directly compares the summary of the corresponding row to obtain a difference result. The existing method needs to read and write the f...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com