US 11,853,275 B2
Upgrading a database management system deployed in a cloud platform
John Fargo C. Lao, Fremont, CA (US); Brett Michael Procek, Berkeley, CA (US); Peter Thang Doan, San Francisco, CA (US); Swadesh Raj Bhattarai, Fremont, CA (US); and Shivakarthik Subramanyam, Dublin, CA (US)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by salesforce.com, inc., San Francisco, CA (US)
Filed on May 14, 2021, as Appl. No. 17/320,969.
Prior Publication US 2022/0365915 A1, Nov. 17, 2022
Int. Cl. G06F 16/21 (2019.01); G06F 9/445 (2018.01); G06F 8/71 (2018.01); G06F 8/65 (2018.01)
CPC G06F 16/217 (2019.01) [G06F 9/44505 (2013.01); G06F 16/211 (2019.01)] 20 Claims
OG exemplary drawing
 
13. A computer system comprising:
a computer processor; and
a non-transitory computer readable storage medium for storing instructions that when executed by the computer processor cause the computer processor to perform steps comprising:
receiving a request to upgrade a database management system deployed on a cloud platform, the database management system stored using:
an instructions storage unit storing instructions of the database management system for processing data of a database; and
a data storage unit storing data of the database;
receiving a cloud platform image comprising:
instructions for the database management system, and
a multi-tenant schema template;
creating a new instructions storage unit at the cloud platform;
deploying the cloud platform image on the new instructions storage unit;
determining whether a multi-tenant schema exists on the database stored on the data storage unit;
responsive to determining that the multi-tenant schema exists on the data storage unit, determining the multi-tenant schema template of the cloud platform image has a newer version of multitenant schema compared to the database;
executing instructions stored in the cloud platform image for upgrading the multi-tenant schema of the database stored in the data storage unit;
building an upgraded database management system by detaching the instructions storage unit from the data storage unit, and attaching the new instructions storage unit to the data storage unit, such that the instructions storage unit no longer has access to the data storage unit, and the new instructions storage unit is provided access to the data storage unit; and
providing access to the upgraded database management system to tenants of the database.