Method and device for synchronizing database increment to dynamic ES index database, and medium
An incremental synchronization and database technology, applied in relational databases, database updates, database models, etc., can solve problems such as high latency, complex operations, and inflexible configuration, and achieve zero latency and high availability.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] Such as figure 1 As shown, the method for database incremental synchronization of the present invention to a dynamic ES index library includes the following steps:
[0048] S100. Using objects and attributes as core elements, perform dynamic data modeling on MYSQL data tables;
[0049] S200, open and read the BINLOG log of MYSQL, analyze and encapsulate the read MYSQL operation event into an event object, and then process the log of MYSQL;
[0050] S300. Send the event object message to the message queue, write the event object message into the ES index library through the message queue consumer, and the message queue is a distributed message queue;
[0051] S400. Create an index by calling the service of the ES index library through the message queue consumer, and read the data model configuration index from the MYSQL data table, and update the incremental and full amount of data to the ES index library.
[0052] In this embodiment, dynamic data modeling is performed...
Embodiment 2
[0071] The embodiment of the present invention also provides a device, including: at least one memory and at least one processor; at least one memory for storing a machine-readable program; at least one processor for invoking the machine-readable program, Execute the method for incrementally synchronizing the database to the dynamic ES index library disclosed in Embodiment 1 of the present invention.
Embodiment 3
[0073] An embodiment of the present invention also provides a computer-readable medium, on which computer instructions are stored, and when the computer instructions are executed by a processor, the processor executes the database incremental synchronization disclosed in Embodiment 1 The method to the dynamic ES index library. Specifically, a system or device equipped with a storage medium may be provided, on which a software program code for realizing the functions of any of the above embodiments is stored, and the computer (or CPU or MPU of the system or device) ) to read and execute the program code stored in the storage medium.
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