Binlog-based configurable mysql database real-time synchronization method
A real-time synchronization and database technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as inconsistencies between databases and configuration files, interactive actions that cannot be synchronized, and inconsistencies between two servers, etc., to improve reliability and stability effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.
[0021] Such as figure 1 As shown, the present invention is based on the mysql binlog, triggers the synchronous action through the mysql sql operation, and uses the configuration file to flexibly control the synchronous table and the data requiring special processing. The specific implementation steps are as follows:
[0022] Step 1: Configure binlog on both server A and server B to be synchronized, and configure them as hosts; use the logfile file to store the file name of the current binlog, and the logpos file to store the location of the current binlog. Configure the tables that need to be synchronized and the tables that need special processing in the configuration file.
[0023] Step 2: Initialize between server A and server B, so that the two hosts are in the same initial state;
[0024] (2.1) Server A packs the tables, confi...
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