Dynamically splitting multi-tenant databases
First Claim
Patent Images
1. A method for splitting a multi-tenant database that is still being accessed in an online service, comprising:
- starting a splitting process of a database used in the online service to split a portion of content of the database to a different database;
wherein the database that is being split is a multi-tenant database used to store data from different tenants and that continues to receive and process requests from web servers for database operations during the splitting process;
wherein the multi-tenant database comprises two or more tenants including data that is stored within the multi-tenant database;
determining split content to split from the database, wherein the split content is the portion of the content from the database that comprises content for a portion of the different tenants;
marking the split content as read only during a move operation of the split content to the different database;
while continuing to receive and process operations on the database, moving the split content to the different database; and
upon completion of moving the split content, automatically redirecting requests for the split content to the different database.
2 Assignments
0 Petitions
Accused Products
Abstract
An online service includes managed databases that include one or more tenants (e.g. customers, users). A multi-tenant database may be split between two or more databases while the database being split continues processing requests. For example, web servers continue to request operations on the database while content is being moved. After moving the content, tenant traffic is automatically redirected to the database that contains the tenant'"'"'s content.
141 Citations
20 Claims
-
1. A method for splitting a multi-tenant database that is still being accessed in an online service, comprising:
-
starting a splitting process of a database used in the online service to split a portion of content of the database to a different database;
wherein the database that is being split is a multi-tenant database used to store data from different tenants and that continues to receive and process requests from web servers for database operations during the splitting process;
wherein the multi-tenant database comprises two or more tenants including data that is stored within the multi-tenant database;determining split content to split from the database, wherein the split content is the portion of the content from the database that comprises content for a portion of the different tenants; marking the split content as read only during a move operation of the split content to the different database; while continuing to receive and process operations on the database, moving the split content to the different database; and upon completion of moving the split content, automatically redirecting requests for the split content to the different database. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-readable storage medium, excluding signals, having computer-executable instructions for, comprising:
-
starting a splitting process of a SQL database used in the online service to split content of the database to a different database;
wherein the database that is being split is a multi-tenant database used to store data from different tenants that continues to receive and process requests for database operations during the splitting process;automatically determining split content to split from the database, wherein the split content is the portion of the content from the database that comprises content for a portion of the different tenants; marking the split content as read only during a move operation of the split content to the different database; while continuing to receive and process operations on the database, moving the split content to the different database; and upon completion of moving the split content, automatically redirecting requests for the split content to the different database. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A system for splitting a multi-tenant database currently in use in an online service, comprising:
-
a network comprising web servers, back-end servers and databases a processor and a computer-readable storage medium; an operating environment stored on the computer-readable medium and executing on the processor; and a cloud manager operative to; start a splitting process of a database used in the online service to split content of the database to a different database on a same network as the database; the split content is the portion of the content from the database that comprises content for a portion of tenants;
wherein a size of the database fits within a memory of a web server that is hosting the database;prevent write access the split content only during a move operation of the split content to the different database while allowing write access to the non-split content of the database; while continuing to receive and process operations on the database, move the split content to the different database; and upon completion of moving the split content, automatically redirect requests for the split content to the different database. - View Dependent Claims (18, 19, 20)
-
Specification