Data synchronization method, device and system
A data synchronization and equipment technology, applied in the field of network communication, can solve the problems of low processing speed and performance, large data difference between the standby machine and the host computer, and data loss, so as to improve the processing speed and performance and reduce the risk of a large amount of data loss. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] The embodiment of the present invention provides a data synchronization method, see figure 1 , the method includes:
[0061] 101. Save the redo Redo logs generated by a batch of currently executed transactions from the redo cache to the host disk through the log write thread, and prevent the log write thread;
[0062] 102. Send the Redo log stored in the host disk to the standby machine through the sending thread;
[0063] 103. Unblock the log writing thread when receiving the response message sent by the standby machine after saving the Redo log to the disk of the standby machine.
[0064] Specifically, after the Redo logs generated by a batch of currently executed transactions are saved from the redo cache to the host disk through the log write thread, it also includes:
[0065] Continue to execute the next batch of transactions, and save the Redo logs generated by the next batch of executed transactions into the redo cache, and stop executing the transaction if the...
Embodiment 2
[0073] see figure 2 , the embodiment of the present invention provides a data synchronization device, the device includes:
[0074] The processing module 201 is used to save the redo Redo log generated by a batch of transactions currently executed from the redo cache to the host disk through the write log thread;
[0075] Stopping module 202, is used to stop writing log thread;
[0076] Sending module 203, is used for sending the Redo log that saving module is stored in host disk to standby machine by sending thread;
[0077] The unblocking module 204 is configured to unblock the log writing thread when the response message sent by the standby machine after saving the Redo log to the disk of the standby machine is received.
[0078] Specifically, the processing module 201 is also configured to continue to execute the next batch of transactions, and save the Redo log generated by executing the next batch of transactions into the redo cache;
[0079] The blocking module 202 ...
Embodiment 3
[0087] see image 3 , an embodiment of the present invention provides a data synchronization method, the method comprising:
[0088] 301. Receive the redo Redo log sent by the sending thread of the host and saved on the host disk. The Redo log is the Redo log generated by the host executing a batch of transactions. , the write log thread is blocked;
[0089] 302. After saving the Redo log to the backup machine disk, send a response message to the host, so that the host unblocks the write log thread according to the response message;
[0090] 303. Re-execute a corresponding batch of transaction operations according to the received Redo logs.
[0091] Specifically, after sending the response message to the host, it also includes:
[0092] Receiving the Redo log sent by the sending thread of the host and saved on the host disk. The Redo log is the Redo log generated by the host executing the next batch of transactions. After the log write thread of the host saves it from the r...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
