Data update counting method, data count query method and related devices

The embodiment of the invention discloses a data updating counting method, a data counting query method and a related device, and the method comprises the steps: determining a plurality of databases which are copies of each other; setting a counter in each database, wherein the counter is used for r...

Full description

Saved in:
Bibliographic Details
Main Author TAN ZHUO
Format Patent
LanguageChinese
English
Published 26.11.2021
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The embodiment of the invention discloses a data updating counting method, a data counting query method and a related device, and the method comprises the steps: determining a plurality of databases which are copies of each other; setting a counter in each database, wherein the counter is used for recording a count value of the database where the counter is located and recording count values of other databases; when it is detected that data of a target database in the multiple databases is updated, updating a counting value of the target database in a counter of the target database to obtain a target counting value; and synchronizing the target count value to counters of other databases to update the count value of the target database in the counters of other databases to the target count value. Due to the fact that the counter in each database records the counting value of the database where the counter is located and the counting values of other databases, updating of the counters in the multiple databases
Bibliography:Application Number: CN202110988011