Dynamic check method and device for consistency of main and salve databases
A master database and dynamic verification technology, applied in the Internet field, can solve problems such as inaccurate consistency verification results, achieve the effects of realizing processing capacity, shortening verification time, and improving verification accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0046] Example 1
[0047] figure 2 It is a preferred structural schematic diagram of a dynamic verification device for the consistency of a master-slave database according to an embodiment of the present application. Preferably, the system in this embodiment may be located on the server 102.
[0048] The inventive concept of this preferred embodiment may mainly include: initializing the difference primary key list; performing a predetermined number of update operations on the difference primary key list; after completing the predetermined number of update operations, if the difference primary key list is still not empty, it indicates the difference The database of the master-slave database corresponding to the primary key list is inconsistent. Wherein, the difference primary key list retains the primary keys corresponding to the data with differences between the primary database and the secondary database determined after the comparison is completed.
[0049] Preferably, in order t...
Example Embodiment
[0086] Example 2
[0087] in Figure 2-Figure 4 On the basis of the system shown, this application provides a preferred dynamic verification method for the consistency of the master-slave database. Such as Figure 5 As shown, the method may include the following steps:
[0088] Step S502: Repeat the following steps N times, where N is a preset natural number: retrieve the database record corresponding to the primary key in the difference primary key list from the primary database to obtain the primary database record set; retrieve and retrieve from the secondary database Database records corresponding to the primary keys in the difference primary key list to obtain a slave database record set; acquire the primary keys corresponding to the database records that have differences between the master database record set and the slave database record set, and compare the difference primary key list The primary key in is updated to the primary key corresponding to the database record wi...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap