Materialized view sub-database replication

US12093284B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12093284-B2
Application numberUS-202318295987-A
CountryUS
Kind codeB2
Filing dateApr 5, 2023
Priority dateMay 29, 2020
Publication dateSep 17, 2024
Grant dateSep 17, 2024

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.

A system for sub-table replication within a materialized view of a source data table. A materialized view of a source data table is generated based on a query, the source data table having a plurality of data table rows associated with a plurality of client identifiers and including an entitlements column and data content, the entitlements column including a plurality of provider account identifiers and a plurality of consumer account identifiers. An update to an entitlements table of the source data table is detected where the entitlements table includes a plurality of entitlements table rows and where the entitlements table rows are associated with the client identifiers, the consumer account identifiers, and the provider account identifiers. An update to the source data table based on the first update to the entitlements table is detected, and an incremental replication of the materialized view of the source data table is performed.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method, the method comprising: receiving, by one or more processors, from a database customer, a list of one or more objects of a database provider account of a first database in a first region, the one or more objects being replicated to a target account of the database customer, the target account associated with a second database in a second region; materializing, by the one or more processors, one or more rows from the one or more objects of the first database into a micro-partition in the database provider account by creating a table and specifying therein the one or more rows from the one or more objects to be copied into the micro-partition; generating, by the one or more processors, a replication policy using the list, the replication policy a database object that the customer uses to define the one or more objects to replicate to the target account; and performing, by the one or more processors, a sub-database replication of the one or more objects from the database provider account of the first database to the target account of the second database using the replication policy, the sub-database replication including replicating the micro-partition of the database provider account to the second database in the second region. 2. The computer-implemented method of claim 1 , wherein the one or more objects are selected from a schema and a table. 3. The method of claim 2 , wherein the list comprises one or more included objects being included in the sub-database replication and one or more excluded objects being excluded from the sub-database replication. 4. The method of claim 3 , wherein the one or more included objects comprise a first at least one schema and the one or more excluded objects comprise a second at least one schema, and performing the sub-database replication comprises performing schema-level filtering by including the one or more included objects in the sub-database replication using the first at least one schema and excluding the one or more excluded objects from the sub-database replication using the second at least one schema. 5. The method of claim 3 , wherein the one or more included objects comprise a first at least one table and the one or more excluded objects comprise a second at least one table, and performing the sub-database replication comprises performing table-level filtering by including the one or more included objects in the sub-database replication using the first at least one table and excluding the one or more excluded objects from the sub-database replication using the second at least one table. 6. The method of claim 1 , further comprising: receiving, by the one or more processors, from the database customer, an identification of a column in a data table being filtered and a filtering behavior to be applied to the column, wherein performing the sub-database replication comprises applying the filter behavior to the column to perform a row-level filtering without duplicating a subset of rows of the data table. 7. The method of claim 6 , wherein the row-level filtering comprises reviewing a micro-partition of the data table to determine whether rows of the micro-partition are to be replicated to the target account. 8. The method of claim 1 , wherein the provider account is an account of the database customer, and wherein the target account is a consumer account of a data consumer. 9. The method of claim 1 , wherein the sub-database replication of the one or more objects from the database provider account is performed for a plurality of target accounts, wherein the provider account is an account of the database customer, and wherein the plurality of target accounts are consumer accounts of a plurality of data consumers. 10. The method of claim 1 , wherein the provider account is an account of the database customer, the first database is a primary database of the database customer, and the second database is a secondary database of the database customer. 11. A data platform comprising: one or more processors; and one or more memories storing executable instructions that, when executed by the one or more processors, cause the data platform to perform operations comprising: receiving from a database customer, a list of one or more objects of a database provider account of a first database in a first region, the one or more objects being replicated to a target account of the database customer, the target account associated with a second database in a second region; materializing, by the one or more processors, one or more rows from the one or more objects of the first database into a micro-partition in the database provider account by creating a table and specifying therein the one or more rows from the one or more objects to be copied into the micro-partition; generating a replication policy using the list, the replication policy a database object that the customer uses to define the one or more objects to replicate to the target account; and performing a sub-database replication of the one or more objects from the database provider account of the first database to the target account of the second database using the replication policy, the sub-database replication including replicating the micro-partition of the database provider account to the second database in the second region. 12. The data platform of claim 11 , wherein the one or more objects are selected from a schema and a table. 13. The data platform of claim 12 , wherein the list comprises one or more included objects being included in the sub-database replication and one or more excluded objects being excluded from the sub-database replication. 14. The data platform of claim 13 , wherein the one or more included objects comprise a first at least one schema and the one or more excluded objects comprise a second at least one schema, and performing the sub-database replication comprises performing schema-level filtering by including the one or more included objects in the sub-database replication using the first at least one schema and excluding the one or more excluded objects from the sub-database replication using the second at least one schema. 15. The data platform of claim 13 , wherein the one or more included objects comprise a first at least one table and the one or more excluded objects comprise a second at least one table, and performing the sub-database replication comprises performing table-level filtering by including the one or more included objects in the sub-database replication using the first at least one table and excluding the one or more excluded objects from the sub-database replication using the second at least one table. 16. The data platform of claim 11 , wherein the operations further comprise: receiving, by the one or more processors, from the database customer, an identification of a column in a data table being filtered and a filtering behavior to be applied to the column, wherein performing the sub-database replication comprises applying the filter behavior to the column to perform a row-level filtering without duplicating a subset of rows of the data table. 17. The data platform of claim 16 , wherein the row-level filtering comprises reviewing a micro-partition of the data table to determine whether rows of the micro-partition are to be replicated to the target account. 18. The data platform of claim 11 , wherein the provider account is an account of the database customer, and wherein the target account is a consumer account of a data

Assignees

Inventors

Classifications

  • based on location or geographical consideration · CPC title

  • Product, service or business identity fraud · CPC title

  • Tablespace storage structures; Management thereof · CPC title

  • Updates performed during online database operations; commit processing · CPC title

  • Data partitioning, e.g. horizontal or vertical partitioning · 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 US12093284B2 cover?
A system for sub-table replication within a materialized view of a source data table. A materialized view of a source data table is generated based on a query, the source data table having a plurality of data table rows associated with a plurality of client identifiers and including an entitlements column and data content, the entitlements column including a plurality of provider account identi…
Who is the assignee on this patent?
Snowflake Inc
What technology area does this patent fall under?
Primary CPC classification G06F16/2282. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 17 2024 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).