hottub.patents
US 12,517,864 B2#2169379 Most CitedActiveUnited States (USPTO)Utility

Systems and methods for scalable database hosting data of multiple database tenants

2Forward Citations (#2169379 Global)
2.0/yrCitation Velocity (#2169379 Global)
0.27Citation PageRank (#2169379 Global)
6Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

According to aspects of the disclosure, there is provided a scalable cloud distributed database system for hosting data of multiple database tenants. In some embodiments, the database may be serverless. The serverless database may be configured to automatically and dynamically match resources to workload demands for tenants of the database. Databases described herein may include replica sets hosting multiple tenants. Tenants may be migrated from one replica set to another replica set based on usage. Usage of tenants may be throttled during migration between replica sets. Tenants with lower usage may be selected for migration between replica sets. During migration, files containing both a document and a history of updates to the document may be migrated. Databases described herein may include multiple storage tiers having different read and/or write speeds.

Interactive Citation Constellation Global Citation Ranking

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

Claims (8)

  1. Claim 1Independent Claim

    A scalable cloud distributed database system for hosting data of multiple database tenants, the system comprising: at least one cloud based resource, the at least one cloud based resource including processor and memory; a database subsystem executing on the at least one cloud based resource, wherein the database subsystem comprises: a first replica set configured to store first data associated with a first tenant and second data associated with a second tenant, the first replica set including a first primary node hosting a first primary database instance of a first database and two first secondary nodes hosting copies of data of the first primary database instance, the first primary node being configured to: accept, from client systems, database write operations associated with the first tenant and the second tenant; and responsive to accepting the database write operations from client systems, propagate the database write operations to the two first secondary nodes; the two first seco

  2. Claim 2Depends on #1

    The system of claim 1 wherein the database subsystem is further configured to, while migrating the first data associated with the first tenant from the first replica set to the second replica set, throttle at least one of database write operations or database read operations associated with at least one of the first tenant or the second tenant.

  3. Claim 3Depends on #1

    The system of claim 1 wherein: migrating the first data associated with the first tenant or the second data associated with the second tenant from the first replica set to a second replica set comprises migrating the first data associated with the first tenant from the first replica set to the second replica set; and the database subsystem is further configured to, while migrating the first data associated with the first tenant from the first replica set to the second replica set, throttle at least one of database write operations or database read operations associated with the second tenant.

  4. Claim 4Depends on #1

    The system of claim 1 wherein the database subsystem is further configured to: measure at least one of database write operations or database read operations associated with the first tenant to obtain first usage information; measure at least one of database write operations or database read operations associated with the second tenant to obtain second usage information; compare the first usage information to the second usage information to obtain a comparison result comprising an indication that the second tenant has higher usage than the first tenant; based on the comparison result, select the first data associated with the first tenant or the second data associated with the second tenant to migrate from the first replica set to the second replica set.

  5. Claim 5Depends on #4

    The system of claim 4, wherein selecting, from among data of tenants stored using the first replica set, one of the first data associated with the first tenant or the second data associated with the second tenant to migrate from the first replica set to the second replica set comprises: based on the indication that the second tenant has higher usage than the first tenant, selecting the first data associated with the first tenant to migrate from the first replica set to the second replica set.

  6. Claim 6Depends on #1

    The system of claim 1, wherein storing the first data associated with the first tenant comprises: storing a first portion the first data associated with the first tenant in a first storage tier; and storing a second portion of the first data associated with the first tenant in a second storage tier, wherein the first storage tier has a faster read and/or write speed than the second storage tier.

  7. Claim 7Depends on #6

    The system of claim 6, wherein migrating the first data associated with the first tenant or the second data associated with the second tenant from the first replica set to the second replica set comprises: copying to the second replica set, the first portion the first data associated with the first tenant stored in the first storage tier; and pointing the second replica set to the second portion of the first data associated with the first tenant stored in the second storage tier.

  8. Claim 8Depends on #1

    The system of claim 1, wherein migrating the first data associated with the first tenant or the second data associated with the second tenant from the first replica set to the second replica set comprises copying to the second replica set, a plurality of files, each file of the plurality of files containing a document and a history of updates associated with the document.

Technical Overview & Description

RELATED APPLICATIONS This application claims the benefit under 35 U.S.C. § 119(e) of U.S. Application Ser. No. 63/220,242, filed Jul. 9, 2021, and entitled “ SYSTEMS AND METHODS FOR SCALABLE DATABASE HOSTING DATA OF MULTIPLE DATABASE TENANTS, ” which is hereby incorporated herein by reference in its entirety. COPYRIGHT NOTICE At least a portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever. BACKGROUND Some conventional database systems may store data associated with a single database tenant and may provide a fixed performance and volume for that database tenant. Some conventional database systems may host data of multiple database tenants with strict caps placed on data volume and operation measures. SUMMARY According to aspects of the disclosure, there is provided a scalable cloud distributed database system for hosting data of multiple database tenants. The system comprises at least one cloud based resource, the at least one cloud based resource including processor and memory and a database subsystem executing on the at least one cloud based resource. The database subsystem comprises a first replica set configured to store first data associated with a first tenant and second data associated with a second tenant, the first replica set including a primary node hosting a primary database instance of a database and two secondary nodes hosting copies of data of the primary database instance. The primary node is configured to accept, from client systems, database write operations associated with the first database tenant and the second database tenant and responsive to accepting the database write operations from client systems, propagate the database write operatio

References Cited — Backward Prior Art (6)

PatentTitleYearCitations