Data synchronization system and data synchronization method used for MySQL database
A data synchronization and database technology, applied in the field of data security, can solve problems such as synchronization to another server, inability to achieve zero loss, inability to persist data, etc., and achieve high performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] see Image 6 In this embodiment, the MySQL database main library submits a write operation of page data with a size of PAGE_SIZE bytes, and the data synchronization process is as follows:
[0036] The file system will initiate an atomic write operation for this write operation. First, the file system initializes some variables and marks the beginning of the atomic write. Then the file system writes the pages of PAGE_SIZE size according to the block size of the underlying disk system, and writes a block of BLOCK_SIZE bytes each time until all the page data of PAGE_SIZE bytes are written into the underlying storage system . Note that every write to the file system will be synchronized to the server storage system of the MySQL standby database. In case of any abnormality during data writing or synchronization, the file system will roll back any previous operations. If at any time during this period, the database or the host goes down, it will not cause data inconsisten...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 