A database table difference comparison method and device
A technology of difference comparison and database, which is applied in the direction of database indexing, redundancy in calculation, data error detection, structured data retrieval, etc., and can solve problems such as memory explosion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0063] In an embodiment of the present invention, the database table is carried out in the standby node program, when the data row comparison is performed in the standby node program, the standby node program is provided with a two-dimensional integer array, the array is used to record the number of data rows that have not been matched, and the matching failure of the source and the standby, regardless of whether the row passed over at this time is the source data or the backup data, if there is no matching corresponding data, that is, MD5 is not the same, then the number of data lines corresponding to the data will be increased by 1.
[0064] In addition to recording the number of rows on the source and standby sides when comparing database tables, the data sent by the source and the data sent by the standby are also stored in a two-dimensional hash array. Because there are 256 kinds of values for each row data MD5, using the key function to encrypt the MD5 represented by the row...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

