| CPC G06F 16/2379 (2019.01) [G06F 16/113 (2019.01); G06F 16/2471 (2019.01); G06F 16/25 (2019.01); G06F 16/27 (2019.01); G06F 16/2372 (2019.01)] | 20 Claims |

|
1. A distributed system comprising:
at least one hardware processor operatively connected to a memory, the at least one hardware processor when executing configured to:
manage a single logical database arranged as a replica set comprising:
a primary source of data stored across an online database and an offline database managed by a primary node of the replica set, wherein the primary node provides a point of access to both the online and offline databases; and
a secondary source of data storing archive copies of the data stored in the primary source, the secondary source being managed by a plurality of secondary nodes of the replica set; and
a data processing entity, executed by the at least one hardware processor, adapted to receive a query of a single logical database;
wherein the at least one hardware processor is configured to:
monitor the online and the offline databases;
determine at least one archive rule is met based on evaluation of at least a subset of data stored within the online database;
transition, automatically, the subset of the data in the online database from the online database to the offline database by removing the subset of the data from the online database and adding the subset of the data to the offline database, and wherein the query is a single unified query that accesses and returns matching results from both of the online and offline databases for a respective query.
|