System for list-based database replication
Abstract
A method of implementing sub-table replication starts with the processor detecting an update to an entitlements table. The processor performs filtering of a data table based on the update to the entitlements table. The data table including an entitlements column. The processor detects an update to the entitlements column and performs incremental replication of the data table by causing a version-based replication to be executed. Other embodiments are also described herein.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 0.
Claims (24 — 3 Independent, 21 Dependent)
- Claim 1Independent Claim
A computer-implemented method of implementing sub-table replication comprising: receiving, by a replication controller of a data platform, a first inclusion list indicating a first subset of rows from a data table of the data platform to replicate to a first provider account of the data platform; replicating, by the replication controller, the first subset of rows to the first provider account based on the first inclusion list; responsive to a provider user updating an entitlements table in the first provider account, performing operations comprising: updating, by the replication controller, a virtual entitlements column stored in the data table indicating a change in provider accounts associated with a client identifier, the virtual entitlements column indicating a provider account associated with the first subset of rows of the data table; identifying, by the replication controller, a second subset of rows in the data table associated with the client identifier by performing a filtering of the data table using file-level filtering of partitions of the data table based on metadata associated with the client identifier and the virtual entitlements column, the file-level filtering performed using the metadata without opening the partitions; generating, by the replication controller, a second inclusion list comprising the second subset of rows associated with the client identifier based on the update to the virtual entitlements column; and performing, by the replication controller, an incremental replication to replicate the second subset of rows to a second provider account based on the second inclusion list.
- Claim 2Depends on #1
The computer-implemented method of claim 1, wherein the first inclusion list and the second inclusion list each further comprise data of a provider account and a region.
- Claim 3Depends on #1
The computer-implemented method of claim 1, further comprising: receiving the first inclusion list from a first client device associated with a provider user.
- Claim 4Depends on #3
The computer-implemented method of claim 3, further comprising: receiving the update to the entitlements table in the first provider account from the first client device.
- Claim 5Depends on #1
The computer-implemented method of claim 1, wherein replicating the first subset of rows comprises: identifying partitions containing the first subset of rows in the data table; and replicating the identified partitions.
- Claim 6Depends on #1
The computer-implemented method of claim 1, wherein the data table is distributed across a plurality of storage devices.
- Claim 7Depends on #1
The computer-implemented method of claim 1, wherein replicating the second subset of rows comprises transmitting the second subset of rows to the second provider account over a network.
- Claim 8Depends on #1
The computer-implemented method of claim 1, wherein the incremental replication comprises a version-based replication.
- Claim 9Independent Claim
A data platform comprising: at least one processor; and at least one memory storing instructions that, when executed by the at least one processor, cause the data platform to perform operations comprising: providing a first provider account; providing a second provider account; and providing a replication controller configured to perform first operations comprising: receiving a first inclusion list indicating a first subset of rows from a data table to replicate to the first provider account; replicating the first subset of rows to the first provider account based on the first inclusion list; responsive to a provider user updating an entitlements table in the first provider account, performing second operations comprising: updating a virtual entitlements column stored in the data table indicating a change in provider accounts associated with a client identifier, the virtual entitlements column indicating a provider account associated with the first subset of rows of the data table; identifying a second subset of rows in the data table associated with the client identifier by performing a filtering of the data table using file-level filtering of partitions of the data table based on metadata associated with the client identifier and the virtual entitlements column, the file-level filtering performed using the metadata without opening the partitions; generating a second inclusion list comprising the second subset of rows associated with the client identifier based on the update to the virtual entitlements column; and performing an incremental replication to replicate the second subset of rows to a second provider account based on the second inclusion list.
- Claim 10Depends on #9
The data platform of claim 9, wherein the first inclusion list and the second inclusion list each further comprise data of a provider account and a region.
- Claim 11Depends on #9
The data platform of claim 9, wherein the operations further comprise: receiving the first inclusion list from a first client device associated with a provider user.
- Claim 12Depends on #11
The data platform of claim 11, wherein the operations further comprise: receiving the update to the entitlements table in the first provider account from the first client device.
- Claim 13Depends on #9
The data platform of claim 9, wherein replicating the first subset of rows comprises: identifying partitions containing the first subset of rows in the data table; and replicating the identified partitions.
- Claim 14Depends on #9
The data platform of claim 9, wherein the data table is distributed across a plurality of storage devices.
- Claim 15Depends on #9
The data platform of claim 9, wherein replicating the second subset of rows comprises transmitting the second subset of rows to the second provider account over a network.
- Claim 16Depends on #9
The data platform of claim 9, wherein the incremental replication comprises a version-based replication.
- Claim 17Independent Claim
A machine-storage medium comprising machine-readable instructions that, when executed by a machine, cause the machine to perform operations comprising: receiving, by a replication controller of a data platform, a first inclusion list indicating a first subset of rows from a data table of the data platform to replicate to a first provider account of the data platform; replicating, by the replication controller, the first subset of rows to the first provider account based on the first inclusion list; responsive to a provider user updating an entitlements table in the first provider account, performing operations comprising: updating, by the replication controller, a virtual entitlements column stored in the data table indicating a change in provider accounts associated with a client identifier, the virtual entitlements column indicating a provider account associated with the first subset of rows of the data table; identifying, by the replication controller, a second subset of rows in the data table associated with the client identifier by performing a filtering of the data table using file-level filtering of partitions of the data table based on metadata associated with the client identifier and the virtual entitlements column, the file-level filtering performed using the metadata without opening the partitions; generating, by the replication controller, a second inclusion list comprising the second subset of rows associated with the client identifier based on the update to the virtual entitlements column; and performing, by the replication controller, an incremental replication to replicate the second subset of rows to a second provider account based on the second inclusion list.
- Claim 18Depends on #17
The machine-storage medium of claim 17, wherein the first inclusion list and the second inclusion list each further comprise data of a provider account and data of a region.
- Claim 19Depends on #17
The machine-storage medium of claim 17, wherein the operations further comprise: receiving the first inclusion list from a first client device associated with a provider user.
- Claim 20Depends on #19
The machine-storage medium of claim 19, wherein the operations further comprise: receiving the update to the entitlements table in the first provider account from the first client device.
- Claim 21Depends on #17
The machine-storage medium of claim 17, wherein replicating the first subset of rows comprises: identifying partitions containing the first subset of rows in the data table; and replicating the identified partitions.
- Claim 22Depends on #17
The machine-storage medium of claim 17, wherein the data table is distributed across a plurality of storage devices.
- Claim 23Depends on #17
The machine-storage medium of claim 17, wherein replicating the second subset of rows comprises transmitting the second subset of rows to the second provider account over a network.
- Claim 24Depends on #17
The machine-storage medium of claim 17, wherein the incremental replication comprises a version-based replication.
Technical Overview & Description
CROSS REFERENCED TO RELATED APPLICATIONS This application is a Continuation of U.S. patent application Ser. No. 17/807,956, Jun. 21, 2022, now U.S. Pat. No. 11,841,877, which is a Continuation of U.S. patent application Ser. No. 17/352,044, filed Jun. 18, 2021 and now issued as U.S. Pat. No. 11,436,257, which is a Continuation of U.S. patent application Ser. No. 16/944,988 filed Jul. 31, 2020, now issued as U.S. Pat. No. 11,055,315, which claims priority to U.S. Provisional Patent Application Ser. No. 63/032,163, filed May 29, 2020, the contents of which are incorporated herein by reference in their entireties. TECHNICAL FIELD The present disclosure relates systems, methods, and devices for databases and more particularly relates to sub-database replication. BACKGROUND Databases are widely used for data storage and access in computing applications. Databases may include tables having rows and columns that include or reference data that can be read, modified, or deleted using queries. In some instances, it may be beneficial to replicate database data in multiple locations or on multiple storage devices. Replicating data can safeguard against system failures that may render data inaccessible over a cloud network or may cause data to be lost or permanently unreadable. However, data replication across a network comprising various regions can induce latency as well as cost. BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS In the drawings, which are not necessarily drawn to scale, like numerals may describe similar components in different views. To easily identify the discussion of any particular element or act, the most significant digit or digits in a reference number refer to the figure number in which that element is first introduced. Some embodiments are illustrated by way of example, and not limitation, in the figures of the accompanying drawings in which: FIG. 1 is a diagrammatic representation of a networked environment in which the present disclosure may be
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.
References Cited — Backward Prior Art (50)
Non-Patent Literature (10)
- US 11,397,751 B2, 07/2022, Chu et al. (withdrawn)
- “
- U.S. Appl. No. 16/944,983, Non Final Office Action mailed Sep. 23, 2020
- ”
- , 12 pgs.
- “
- U.S. Appl. No. 16/944,988, Non Final Office Action mailed Oct. 19, 2020
- ”
- , 13 pgs.
- “