hottub.patents
US 12,333,040 B2#3519654 Most CitedActiveUnited States (USPTO)Utility

Native multi-tenancy for database system

0Forward Citations (#3519654 Global)
0.0/yrCitation Velocity (#3519654 Global)
0.00Citation PageRank (#3519654 Global)
11Prior Art Cited
20Claims (3 Indep. · 17 Dep.)
7Drawings / Sheets

Abstract

Systems and methods include creation of a first instance of a tenant object in a database instance, association of the first instance of the tenant object with a first plurality of database artifacts including first data associated with the first instance of the tenant object, creation of a second instance of the tenant object in the database instance, association of the second instance of the tenant object with a second plurality of database artifacts including second data associated with the second instance of the tenant object, and reception and response to queries on the first data associated with the first instance of the tenant object and to queries on the second data associated with the second instance of the tenant object.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 0.

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    A database system comprising: a memory storing: metadata defining a tenant object and a plurality of database artifacts; a first instance of the tenant object, the first instance associated with a first plurality of the database artifacts of the database instance including first database tables, first database views on the first database tables and a first schema associated with the first instance of the tenant object; and a second instance of the tenant object, the second instance associated with a second plurality of the database artifacts of the database instance including second database tables, second database views on the second database tables, and a second schema to which the second database tables conform, the second database tables, second database views and second schema being different from the first database tables, first database views and first schema; and a processing unit to execute program code of a database instance, the program code executable to cause the system to receive and respond to queries on the first database views associated with the first instance of the tenant object and to queries on the second database views associated with the second instance of the tenant object, wherein the first instance of the tenant object is not associated with the second plurality of the database artifacts and the second instance of the tenant object is not associated with the first plurality of the database artifacts.

  2. Claim 2Depends on #1

    A system according to claim 1, the system comprising a persistent storage system storing first persisted data associated with the first instance of the tenant object and second persisted data associated with the second instance of the tenant object.

  3. Claim 3Depends on #2

    A system according to claim 2, wherein the first persisted data is encrypted using a first encryption key associated with the first instance of the tenant object, and wherein the second persisted data is encrypted using a second encryption key associated with the second instance of the tenant object.

  4. Claim 4Depends on #3

    A system according to claim 3, the persistent storage system storing third persisted data not associated with the first instance of the tenant object or the second instance of the tenant object, the third persisted data encrypted using a third encryption key and the metadata encrypted using the third encryption key.

  5. Claim 5Depends on #1

    A system according to claim 1, the program code executable to cause the system to receive and respond to a request to move the first instance of the tenant object and the first plurality of the database artifacts to a second database instance, wherein the second instance of the tenant object and the second plurality of the database artifacts are not moved to the second database instance.

  6. Claim 6Depends on #1

    A system according to claim 1, the program code executable to cause the system to receive and respond to a request to restore the first instance of the tenant object and the first plurality of the database artifacts from a backup, wherein the second instance of the tenant object and the second plurality of the database artifacts are not restored from the backup.

  7. Claim 7Depends on #1

    A system according to claim 1, the program code executable to cause the system to receive and respond to a request to associate first resource consumption limits with the first instance of the tenant object and to associate second resource consumption limits with the second instance of the tenant object, wherein the first resource consumption limits are different from the second resource consumption limits.

  8. Claim 8Independent Claim

    A method comprising: creating a first instance of a tenant object in a database instance; associating the first instance of the tenant object with a first plurality of database artifacts, the first plurality of database artifacts of the database instance including first database tables, first database views on the first database tables, and a first schema to which the first database tables conform; creating a second instance of the tenant object in the database instance; associating the second instance of the tenant object with a second plurality of database artifacts, the second plurality of database artifacts of the database instance including second database tables, second database views on the second database tables, and a second schema to which the second database tables conform, the second database tables, second database views and second schema being different from the first database tables, first database views and first schema; and receiving and responding to queries on the first database views associated with the first instance of the tenant object and to queries on the second database views associated with the second instance of the tenant object, wherein the first instance of the tenant object is not associated with the second plurality of the database artifacts and the second instance of the tenant object is not associated with the first plurality of the database artifacts.

  9. Claim 9Depends on #8

    A method according to claim 8, further comprising storing first persisted data associated with the first instance of the tenant object and second persisted data associated with the second instance of the tenant object in a persistent storage system.

  10. Claim 10Depends on #9

    A method according to claim 9, wherein the first persisted data is encrypted using a first encryption key associated with the first instance of the tenant object, and wherein the second persisted data is encrypted using a second encryption key associated with the second instance of the tenant object.

  11. Claim 11Depends on #10

    A method according to claim 10, further comprising encrypting third persisted data not associated with the first instance of the tenant object or the second instance of the tenant object, and metadata defining the first plurality of database artifacts and the second plurality of database artifacts using a third encryption key, and storing the encrypted third persisted data and metadata in the persistent storage system.

  12. Claim 12Depends on #8

    A method according to claim 8, further comprising: receiving a request to move the first instance of the tenant object and the first plurality of the database artifacts to a second database instance; and in response to the request, moving the first instance of the tenant object and the first plurality of the database artifacts to the second database instance, wherein the second instance of the tenant object and the second plurality of the database artifacts are not moved to the second database instance.

  13. Claim 13Depends on #8

    A method according to claim 8, further comprising: receiving a request to restore the first instance of the tenant object and the first plurality of the database artifacts from a backup; and in response to the request, restoring the first instance of the tenant object and the first plurality of the database artifacts from the backup, wherein the second instance of the tenant object and the second plurality of the database artifacts are not restored from the backup.

  14. Claim 14Depends on #8

    A method according to claim 8, further comprising: receiving a request to associate first resource consumption limits with the first instance of the tenant object and to associate second resource consumption limits with the second instance of the tenant object; and in response to the request, associating first resource consumption limits with the first instance of the tenant object and second resource consumption limits with the second instance of the tenant, wherein the first resource consumption limits are different from the second resource consumption limits.

  15. Claim 15Independent Claim

    A non-transitory computer-readable medium storing program code executable by one or more processing units to cause a computing system to: create a first instance of a tenant object in a database instance; associate the first instance of the tenant object with a first plurality of database artifacts of the database instance including first database tables, first database views on the first database tables, and a first schema to which the first database tables conform; create a second instance of the tenant object in the database instance; associate the second instance of the tenant object with a second plurality of database artifacts of the database instance including second database tables, second database views on the second database tables, and a second schema to which the second database tables conform, the second database tables, second database views and second schema being different from the first database tables, first database views and first schema; and receive and respond to queries on the first database views associated with the first instance of the tenant object and to queries on the second database views associated with the second instance of the tenant object, wherein the first instance of the tenant object is not associated with the second plurality of the database artifacts and the second instance of the tenant object is not associated with the first plurality of the database artifacts.

  16. Claim 16Depends on #15

    A medium according to claim 15, the program code further executable by one or more processing units to cause the computing system to: store first persisted data associated with the first instance of the tenant object and second persisted data associated with the second instance of the tenant object in a persistent storage system, wherein the first persisted data is encrypted using a first encryption key associated with the first instance of the tenant object, and wherein the second persisted data is encrypted using a second encryption key associated with the second instance of the tenant object.

  17. Claim 17Depends on #16

    A medium according to claim 16, the program code further executable by one or more processing units to cause the computing system to: encrypt third persisted data not associated with the first instance of the tenant object or the second instance of the tenant object, and metadata defining the first plurality of database artifacts and the second plurality of database artifacts using a third encryption key; and store the encrypted third persisted data and metadata in the persistent storage system.

  18. Claim 18Depends on #15

    A medium according to claim 15, the program code further executable by one or more processing units to cause the computing system to: receive a request to move the first instance of the tenant object and the first plurality of the database artifacts to a second database instance; and in response to the request, move the first instance of the tenant object and the first plurality of the database artifacts to the second database instance, wherein the second instance of the tenant object and the second plurality of the database artifacts are not moved to the second database instance.

  19. Claim 19Depends on #15

    A medium according to claim 15, the program code further executable by one or more processing units to cause the computing system to: receive a request to restore the first instance of the tenant object and the first plurality of the database artifacts from a backup; and in response to the request, restore the first instance of the tenant object and the first plurality of the database artifacts from the backup, wherein the second instance of the tenant object and the second plurality of the database artifacts are not restored from the backup.

  20. Claim 20Depends on #15

    A medium according to claim 15, the program code further executable by one or more processing units to cause the computing system to: receive a request to associate first resource consumption limits with the first instance of the tenant object and to associate second resource consumption limits with the second instance of the tenant object; and in response to the request, associate first resource consumption limits with the first instance of the tenant object and second resource consumption limits with the second instance of the tenant, wherein the first resource consumption limits are different from the second resource consumption limits.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS The present application claims priority to U.S. Provisional Patent Application Nos. 63/352,779 and 63/352,811, filed Jun. 16, 2022, the entire contents of which are incorporated by reference herein for all purposes. BACKGROUND Multi-tenancy is a software architecture pattern which facilitates the sharing of computing resources among disparate groups of users. For example, a single multi-tenant application (e.g., a Software-as-a-Service (SaaS) application) may serve multiple end user groups (i.e., customers) within a single software instance. Such a software instance uses a much smaller computing resource footprint than would be required to provision one software instance per customer. Multi-tenancy can therefore provide substantial cost benefits. The data of each customer in a multi-tenant architecture is typically mapped to a corresponding tenant in the underlying data layer. This mapping allows for logical separation of the data within the data layer and facilitates access thereto by the multi-tenant application. In some multi-tenant architectures, the data of each tenant is managed by a different database instance executing within a same computing system (e.g., a rack server). These architectures provide excellent separation of tenant data but it may be cost-inefficient in some scenarios to require a full database instance per tenant. For example, a smallest database instance may consume 32 Gb of memory, which may represent significantly more computing resources than should be required by a small tenant. Other multi-tenant data architectures use a single database instance to manage the data of multiple tenants. Since the data in such an architecture is not physically separated, the multi-tenant application is responsible for tracking and managing the data in a tenant-aware manner. For example, a database system may use one schema of a single instance for all tenants, where the data of each tenant is partitioned via a discri

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

Non-Patent Literature (10)

  • Communication:
  • “
  • Extended European Search Report
  • ”
  • , May 17, 2023 (May 17, 2023), European Patent Office, for European Application No. 22204505.6-1203, 9 pages.
  • Schiller, Oliver et al.,
  • “
  • Native Support of Multi-tenancy in RDBMS for Software as a Service
  • ”
  • , Extending Database Technology, ACM, 2 Penn Plaza, Suite 701 New York, NY 10121-0701, USA, Mar. 21, 2011 (Mar. 21, 2021), XP058002015, DOI: 10.1145/1951365.1951382, ISBN: 978-1-4503-0528-0, (pp. 117-128, 12 total pages).