Testing database replication with multi-container system architecture
First Claim
1. A computer-implemented method for testing a database replication system within a multi-container system architecture, the method comprising:
- receiving a first request for creating a database recovery system within a multi-container system architecture, the multi-container system architecture comprising a computing device having a plurality of tenant databases and a system database;
identifying a primary system of a database system from information included in the first request;
in response to identifying the primary system from the information included in the first request, determining a first tenant database of the plurality of tenant databases, the first tenant database representing the identified primary system;
in response to determining the first tenant database, generating a second tenant database of the plurality of tenant databases, the second tenant database representing a secondary system of the database system and being enabled to test replicating information that would otherwise be associated with the first tenant database, wherein the primary system and the secondary system each comprise a computing device independent of the computing device of the multi-container system architecture;
receiving, by the first tenant database, a request to enter a recovery mode;
upon entering the recovery mode, retrieving log information from the first tenant database for transmission to the second tenant database; and
generating a log catalog comprising transmitted objects from the first tenant database to the second tenant database by replaying the log information at the second tenant database.
1 Assignment
0 Petitions
Accused Products
Abstract
Testing a database replication system within a multi-container system architecture comprises receiving a first request for creating a database recovery system within a multi-container system architecture. The multi-container system architecture is configured to contain a plurality of tenant databases and a system database, and the database recovery system includes a primary system and a secondary system. The primary system is then identified from the information in the first request. Upon identification, a first tenant database included in the plurality of tenant databases is determined that corresponds to the identified primary system. Upon determining the first tenant database, a second tenant database of the plurality of tenant database is generated that corresponds to the secondary system, and which is enabled to test replicating information that would otherwise be associated with the first tenant database. Related apparatus, systems, techniques and articles are also described.
-
Citations
20 Claims
-
1. A computer-implemented method for testing a database replication system within a multi-container system architecture, the method comprising:
-
receiving a first request for creating a database recovery system within a multi-container system architecture, the multi-container system architecture comprising a computing device having a plurality of tenant databases and a system database; identifying a primary system of a database system from information included in the first request; in response to identifying the primary system from the information included in the first request, determining a first tenant database of the plurality of tenant databases, the first tenant database representing the identified primary system; in response to determining the first tenant database, generating a second tenant database of the plurality of tenant databases, the second tenant database representing a secondary system of the database system and being enabled to test replicating information that would otherwise be associated with the first tenant database, wherein the primary system and the secondary system each comprise a computing device independent of the computing device of the multi-container system architecture; receiving, by the first tenant database, a request to enter a recovery mode; upon entering the recovery mode, retrieving log information from the first tenant database for transmission to the second tenant database; and generating a log catalog comprising transmitted objects from the first tenant database to the second tenant database by replaying the log information at the second tenant database. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer-implemented system for testing a database replication system within a multi-container system architecture, the system comprising:
-
a data processor of the multi-container system architecture; a plurality of tenant databases and a system database of the multi-container system architecture, wherein the plurality of tenant databases represent separate, physical databases of a database system comprising a primary system and a secondary system; and a computer-readable storage medium encoded with instructions for commanding the data processor to perform operations comprising; receiving a first request for creating a database recovery system within the multi-container system architecture; identifying the primary system from information included in the first request; in response to identifying the primary system from the information included in the first request, determining a first tenant database of the plurality of tenant databases, the first tenant database representing the identified primary system; in response to determining the first tenant database, generating a second tenant database of the plurality of tenant databases, the second tenant database representing the secondary system, wherein the primary system and the secondary system each comprise a computing device independent of the data processor of the multi-container system architecture; receiving, by the first tenant database, a request to enter a recovery mode; upon entering the recovery mode, retrieving log information from the first tenant database for transmission to the second tenant database; and generating a log catalog comprising transmitted objects from the first tenant database to the second tenant database by replaying the log information at the second tenant database.
-
-
20. A computer program product for testing a database replication system within a multi-container system architecture, the product comprising:
a non-transitory machine-readable medium storing instructions that, when executed by at least one data processor, cause the at least one data processor to perform operations comprising; generating a multi-container system architecture, the multi-container system architecture comprising a computing device having a plurality of tenant databases and a system database; receiving a first request for creating a database recovery system within the multi-container system architecture; identifying a primary system of a database system from information included in the first request; in response to identifying the primary system from the information included in the first request, determining a first tenant database of the plurality of tenant databases, the first tenant database replicating the identified primary system; in response to determining the first tenant database, generating a second tenant database of the plurality of tenant databases, the second tenant database replicating a secondary system of the database system, wherein the primary system and the secondary system each comprise a computing device independent of the computing device of the multi-container system architecture; receiving, by the first tenant database, a request to enter a recovery mode; upon entering the recovery mode, retrieving log information from the first tenant database for transmission to the second tenant database; and generating a log catalog comprising transmitted objects from the first tenant database to the second tenant database by replaying the log information at the second tenant database.
Specification