Master-standby redundancy replication method based on SQLite databases

The invention relates to a master-standby redundancy replication method based on SQLite databases. The method includes that database management service processes are packaged on the SQLite database and are responsible for monitoring states of the SQLite databases and receiving a database manipulatio...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: JI XUECHUN, WANG YUJUN, SHI HAOQIU, LI HAO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to a master-standby redundancy replication method based on SQLite databases. The method includes that database management service processes are packaged on the SQLite database and are responsible for monitoring states of the SQLite databases and receiving a database manipulation request sent by an application layer; an SQLite database synchronizing function is packaged in the SQLite service to achieve the master-standby redundancy replication of the SQLite database; master-standby databases can perform automatic shift according to states of the SQLite databases, only service processes on the master databases receive applied database modification requests, and the master databases are synchronized to the standby databases; and the service processes are also responsible for monitoring states of the SQLite databases and providing dump functions of SQLite data files to process recovery of failure databases, and the service processes compare differences of the SQLite data files on the databas