Deploying changes in a multi-tenancy database system

US10452646B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10452646-B2
Application numberUS-201715794335-A
CountryUS
Kind codeB2
Filing dateOct 26, 2017
Priority dateOct 26, 2017
Publication dateOct 22, 2019
Grant dateOct 22, 2019

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The present disclosure involves systems, software, and computer implemented methods for deploying changes in a multi-tenancy database system. One example method includes upgrading at least one tenant database container in a database system. Table structure differences and table sharing type differences are determined by comparing tables in a current-version shared container to tables in a next-version shared container. A current key pattern configuration in the current-version shared container is compared to an updated key pattern configuration in the next-version shared container to identify key pattern configuration differences. Each table in the at least one tenant database container is upgraded based on the table structure differences, the table sharing type differences, and the key pattern configuration differences.

First claim

Opening claim text (preview).

What is claimed is: 1. A database system comprising: one or more computers; a computer-readable medium coupled to the one or more computers, the computer readable medium having instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations; wherein the computer readable medium includes: a current-version shared database container; a next-version shared database container; and at least one tenant database container; wherein each tenant database container includes local content that is local to a respective tenant; and wherein the current-version shared database container includes shared content shared by multiple tenants and a current key pattern configuration, the current key pattern configuration specifying data that is allowed to be written, by tenants that are connected to the current-version shared database container, to respective tenant database containers; wherein the next-version shared database container is a copy of the current-version shared database container that includes updated shared content that has been modified to reflect changes for a new version of the database system and an updated key pattern configuration that specifies data that is allowed to be written, by tenants that are connected to the next-version shared database container, to respective tenant database containers; and wherein the deployment tool is configured to upgrade the at least one tenant database container; and wherein the operations include: determining a table structure and a table sharing type for each table in the current-version shared database container; determining a table structure and a table sharing type for each table in the next-version shared database container; comparing the table structures of the tables in the current-version shared database container to the table structures of the tables in the next-version shared database container to identify table structure differences; comparing the table sharing types of the tables in the current-version shared database container to the table sharing types of the tables in the next-version shared database container to identify table sharing type differences; comparing the current key pattern configuration to the updated key pattern configuration to identify key pattern configuration differences; and upgrading each table in the at least one tenant database container based on the table structure differences, the table sharing type differences, and the key pattern configuration differences. 2. The system of claim 1 , wherein upgrading a given table comprises determining whether a table structure difference, a sharing type difference, or a key pattern configuration difference applies to the given table. 3. The system of claim 2 , wherein the operations include: determining that one type of difference applies to the given table, the one type of difference being one of the table structure difference, the sharing type difference, or the key pattern configuration difference; and wherein upgrading the given table comprises: updating a table structure of the given table based on the table structure difference, using a table structure change infrastructure, when the one type of difference is the table structure difference; updating a table sharing type of the given table based on the sharing type difference, using a table sharing type change infrastructure, when the one type of difference is the table sharing type difference; and upgrading the table based on the key pattern configuration difference, using a key pattern change infrastructure, when the one type of difference is the key pattern configuration difference. 4. The system of claim 3 , wherein the operations include: determining that a table structure difference and a sharing type difference apply to the given table; and upgrading the given table using the sharing type change infrastructure based on the sharing type difference and the table structure difference. 5. The system of claim 3 , wherein the operations include: determining that a table structure difference and a key pattern configuration difference apply to the given table; updating the table structure of the given table, based on the table structure difference, using the table structure change infrastructure; and upgrading the table based on the key pattern configuration difference, using the key pattern change infrastructure, after the table structure of the given table has been updated. 6. The system of claim 3 , wherein the one type of difference is the table structure difference and updating the table structure comprises determining a sharing type of the given table. 7. The system of claim 6 , wherein the determined sharing type of the given table is writable, and updating the table structure comprises: identifying the given table as a first writable table in the tenant database container being upgraded; changing the structure of the first writable table based on the table structure difference. 8. The system of claim 6 , wherein the determined sharing type of the given table is read-only, and updating the table structure comprises: identifying a first view in the tenant database container being upgraded, the first view providing access to a first read-only table included in the current-version shared database container; dropping the first view; creating a second view, in the tenant database container being upgraded, to a second read-only table included in the next-version shared database container. 9. The system of claim 6 , wherein the determined sharing type of the given table is split, and updating the table structure comprises: identifying a first view in the tenant database container being upgraded, the first view providing access to a first read-only table included in the current-version shared database container, the first read-only table storing read-only records associated with a split table; dropping the first view; creating a second view, in the tenant database container being upgraded, to a second read-only table included in the next-version shared database container; identifying a first writable table in the tenant database container being upgraded, the first writable table storing writable records associated with the split table; identifying a union view in the tenant database container being upgraded, the union view providing unified access to the first read-only table and the first writable table; adjusting the structure of the first writable table based on the table structure difference to create an adjusted writable table; dropping the union view; and creating a new union view that provides unified access to the first read-only table and the adjusted writable table. 10. A method comprising: identifying, in a database system, a current-version shared database container, the current-version shared database container including shared content shared by multiple tenants and a current key pattern configuration, the current key pattern configuration specifying data that is allowed to be written, by tenants that are connected to the current-version shared database container, to respective tenant database containers; identifying a next-version shared database container, the next-version shared database container being a copy of the current-version shared database container that includes updated shared content that has been modified to reflect changes for a new version of the database system and an updated key pattern configuration that specifies data that is allowed to be written, by tenants that are connected to the next-version shared database container, to respective tenant database containers; and upgrading the at least one

Assignees

Inventors

Classifications

  • Presentation of query results · CPC title

  • of query operations · CPC title

  • Multidimensional index structures · CPC title

  • to a system of files or objects, e.g. local or distributed file system or database · CPC title

  • Design, administration or maintenance of databases · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10452646B2 cover?
The present disclosure involves systems, software, and computer implemented methods for deploying changes in a multi-tenancy database system. One example method includes upgrading at least one tenant database container in a database system. Table structure differences and table sharing type differences are determined by comparing tables in a current-version shared container to tables in a next-…
Who is the assignee on this patent?
Sap Se
What technology area does this patent fall under?
Primary CPC classification G06F16/2365. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 22 2019 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).