Method and device for carrying out persistent storage on data of memory database
The invention discloses a method and device for persistent storage of data of a memory database, the method is executed by an application server, the method comprises the steps that first communication connection with a memory database server is established, and establishment of the first communicat...
Gespeichert in:
Hauptverfasser: | , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a method and device for persistent storage of data of a memory database, the method is executed by an application server, the method comprises the steps that first communication connection with a memory database server is established, and establishment of the first communication connection does not depend on a key of the memory database; based on the first communication connection, simulating slave nodes for realizing the memory database; sending a data synchronization instruction to the memory database based on the simulated slave node, and receiving a snapshot file data stream returned by the memory database according to the data synchronization instruction; and converting the snapshot file data flow into a snapshot file to store the memory database data. According to the method, the mode of acquiring the data of the memory database based on a key mechanism in the prior art is avoided, the process is simple, the calculation amount is small, the efficiency of acquiring and persisting |
---|