Redis-based database data aggregation and synchronization method
AssigneeMolbase (Shanghai) Biotechnology Co., Ltd.
InventorChang Gen Xu
Life of this patent
Estimating the term…
Loading patent…
AssigneeMolbase (Shanghai) Biotechnology Co., Ltd.
InventorChang Gen Xu
Estimating the term…
In a Redis-based database data aggregation and synchronization method, a synchronization program scans data of a table of a target database, calculates and stores a Key and a Value of each row into a Redis, while writing the row into an aggregation database. When there is a change of data in the table of the target database, the synchronization program re-calculates a new Key and a new Value of each row in the target database and inquires whether a key same as the new Key exists in the Redis to update the data in the aggregation database, and then perform a difference set calculation for the data after the synchronization of the primary key set of the table of the target database and the corresponding primary key set of the table of the aggregation database, and delete the data from the aggregation database by determining whether or an element exists in the difference set.
A REDIS-based database data aggregation and synchronization method, for aggregating and synchronizing at least a target database data into an aggregation database, comprising the steps of:
Dependencies are inferred from the claim text.