Managing tenant-specific data sets in a multi-tenant environment
First Claim
Patent Images
1. A computer program product for managing tenant-specific data sets in a multi-tenant system, the computer program product comprising:
- a computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code executable by a processor to perform an operation comprising;
receiving, through an abstraction layer, a request to convert a data set in a first database type to a second database type;
retrieving, from the abstraction layer, tenant identification metadata identifying a tenant making the request;
modifying the data set in the first database type based on the second database type, wherein modifying the data set comprises;
creating a target database of the second database type, wherein the first database type is one of a private database and a shared database defined by a private schema, wherein the second database type is one of the private database and the shared database defined by the private schema;
transferring a first table of the data set to a second table in the target database; and
while transferring the first table to the target database;
responsive to receiving a select query, issuing the select query to the first table and the second table;
responsive to receiving an insert query, issuing the insert query to the second table;
responsive to receiving a delete query, issuing the delete query to the first table and the second table; and
responsive to receiving an update query, issuing the update query to the first table and the second table; and
modifying, through the abstraction layer, metadata describing the first database type to describe the second database type, thereby allowing the modified data set to be accessed in the second database type.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, computer program product and system for managing tenant-specific data sets in a multi-tenant system, by receiving a request to convert a data set in a physical data store from a first type of multi-tenant deployment to a second type of multi-tenant deployment, retrieving tenant identification metadata identifying a tenant making the request, modifying the data set in the physical data store based on the second type of multi-tenant deployment, and modifying metadata associated with an abstraction layer to allow the modified data set to be accessed.
30 Citations
14 Claims
-
1. A computer program product for managing tenant-specific data sets in a multi-tenant system, the computer program product comprising:
a computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code executable by a processor to perform an operation comprising; receiving, through an abstraction layer, a request to convert a data set in a first database type to a second database type; retrieving, from the abstraction layer, tenant identification metadata identifying a tenant making the request; modifying the data set in the first database type based on the second database type, wherein modifying the data set comprises; creating a target database of the second database type, wherein the first database type is one of a private database and a shared database defined by a private schema, wherein the second database type is one of the private database and the shared database defined by the private schema; transferring a first table of the data set to a second table in the target database; and while transferring the first table to the target database; responsive to receiving a select query, issuing the select query to the first table and the second table; responsive to receiving an insert query, issuing the insert query to the second table; responsive to receiving a delete query, issuing the delete query to the first table and the second table; and responsive to receiving an update query, issuing the update query to the first table and the second table; and modifying, through the abstraction layer, metadata describing the first database type to describe the second database type, thereby allowing the modified data set to be accessed in the second database type. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
8. A system, comprising:
-
one or more computer processors; a memory containing a program, which when executed by the one or more computer processors is configured to perform an operation for managing tenant-specific data sets in a multi-tenant system, the operation comprising; receiving, through an abstraction layer, a request to convert a data set in a first database type to a second database type; retrieving, from the abstraction layer, tenant identification metadata identifying a tenant making the request; modifying the data set in the first database type based on the second database type, wherein modifying the data set comprises; creating a target database of the second database type, wherein the first database type is one of a private database and a shared database defined by a private schema, wherein the second database type is one of the private database and the shared database defined by the private schema; transferring a first table of the data set to a second table in the target database; and while transferring the first table to the target database; responsive to receiving a select query, issuing the select query to the first table and the second table; responsive to receiving an insert query, issuing the insert query to the second table; responsive to receiving a delete query, issuing the delete query to the first table and the second table; and responsive to receiving an update query, issuing the update query to the first table and the second table; and modifying, through the abstraction layer, metadata describing the first database type to describe the second database type, thereby allowing the modified data set to be accessed in the second database type. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification