Data sharing in database systems

US10997169B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10997169-B2
Application numberUS-202017125453-A
CountryUS
Kind codeB2
Filing dateDec 17, 2020
Priority dateMay 31, 2019
Publication dateMay 4, 2021
Grant dateMay 4, 2021

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.

Using one or more processors, generating a materialized view over a share object, the share object, including data associated with a first account. Using the one or more processors, merging the materialized view and the share object. Using the one or more processors, updating the data associated with the first account subsequent to generating the materialized view. Using the one or more processors, generating a refreshed materialized view with respect to the share object in response to detecting the updated data. Using the one or more processors, sharing the refreshed materialized view to a second account in response to a request from the second account.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: generating, using one or more processors, a materialized view over a share object, the share object including data associated with a first account; merging, using the one or more processors, the materialized view and the share object; updating, using the one or more processors, the data associated with the first account subsequent to generating the materialized view; generating, using the one or more processors, a refreshed materialized view with respect to the share object in response to detecting the updated data; and sharing, using the one or more processors, the refreshed materialized view to a second account in response to a request from the second account. 2. The method of claim 1 , further comprising: determining that the materialized view is stale with respect to the share object based at least in part on the merging. 3. The method of claim 2 , further comprising: receiving a request from the second account to generate a second materialized view over particular data associated with the first account; determining that the particular data is included in the share object; and granting, to the second account, authorization to generate the second materialized view based on the particular data. 4. The method of claim 1 , wherein determining that the materialized view is stale further comprises: identifying that the data in the share object has been modified since a previous refresh of the materialized view. 5. The method of claim 1 , further comprising: granting cross-account access rights to the share object to the second account such that the second account has access to the share object without copying the share object. 6. The method of claim 5 , wherein the granted cross-account access rights are based on a first role associated with the first account, and the granted cross-account access rights are assigned to a second role associated with the second account. 7. The method of claim 6 , wherein the first role has a select grant to data in a first table, the second role has a usage grant of the first role, and the second role is allowed to access data in the first account based at least in part on the usage grant, wherein the usage grant allows the second role to inherit access privileges of the first role. 8. The method of claim 7 , further comprising: executing, by a user with the second role, a database query on the first table. 9. The method of claim 5 , further comprising: defining view privileges for the cross-account access rights to the share object such that an underlying detail of the share object comprises a secure view definition, wherein the underlying detail of the share object comprises: a data field in the share object, a column of data in the share object, or a quantity of data in the share object. 10. The method of claim 9 , wherein defining the view privileges for the cross-account access rights to the share object comprises hiding the view privileges from the second account and making the view privileges visible to the first account. 11. A system comprising: at least one processor; and a memory device including instructions, which when executed by the at least one processor, cause the at least one processor to perform operations comprising: generating, using one or more processors, a materialized view over a share object, the share object including data associated with a first account; merging, using the one or more processors, the materialized view and the share object; updating, using the one or more processors, the data associated with the first account subsequent to generating the materialized view; generating, using the one or more processors, a refreshed materialized view with respect to the share object in response to detecting the updated data; and sharing, using the one or more processors, the refreshed materialized view to a second account in response to a request from the second account. 12. The system of claim 11 , wherein the operations further comprise: determining that the materialized view is stale with respect to the share object based at least in part on the merging. 13. The system of claim 12 , wherein the operations further comprise: receiving a request from the second account to generate a second materialized view over particular data associated with the first account; determining that the particular data is included in the share object; and granting, to the second account, authorization to generate the second materialized view based on the particular data. 14. The system of claim 11 , wherein determining that the materialized view is stale further comprises: identifying that the data in the share object has been modified since a previous refresh of the materialized view. 15. The system of claim 11 , wherein the operations further comprise: granting cross-account access rights to the share object to the second account such that the second account has access to the share object without copying the share object. 16. The system of claim 15 , wherein the granted cross-account access rights are based on a first role associated with the first account, and the granted cross-account access rights are assigned to a second role associated with the second account. 17. The system of claim 16 , wherein the first role has a select grant to data in a first table, the second role has a usage grant of the first role, and the second role is allowed to access data in the first account based at least in part on the usage grant, wherein the usage grant allows the second role to inherit access privileges of the first role. 18. The system of claim 17 , wherein the operations further comprise: executing, by a user with the second role, a database query on the first table. 19. The system of claim 15 , wherein the operations further comprise: defining view privileges for the cross-account access rights to the share object such that an underlying detail of the share object comprises a secure view definition, wherein the underlying detail of the share object comprises: a data field in the share object, a column of data in the share object, or a quantity of data in the share object. 20. The system of claim 19 , wherein defining the view privileges for the cross-account access rights to the share object comprises hiding the view privileges from the second account and making the view privileges visible to the first account. 21. A non-transitory computer-readable medium comprising instructions, which when executed by at least one processor, cause the at least one processor to perform operations comprising: generating, using one or more processors, a materialized view over a share object, the share object including data associated with a first account; merging, using the one or more processors, the materialized view and the share object; updating, using the one or more processors, the data associated with the first account subsequent to generating the materialized view; generating, using the one or more processors, a refreshed materialized view with respect to the share object in response to detecting the updated data; and sharing, using the one or more processors, the refreshed materialized view to a second account in response to a request from the second account. 22. The non-transitory computer-readable medium of claim 21 , wherein the operations further comprise: determining that the materialized view is stale with respect to the share object based at l

Assignees

Inventors

Classifications

  • Data partitioning, e.g. horizontal or vertical partitioning · CPC title

  • in federated or virtual databases · CPC title

  • Database cache management · CPC title

  • using cached or materialised query results · CPC title

  • Updating materialised views · 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 US10997169B2 cover?
Using one or more processors, generating a materialized view over a share object, the share object, including data associated with a first account. Using the one or more processors, merging the materialized view and the share object. Using the one or more processors, updating the data associated with the first account subsequent to generating the materialized view. Using the one or more process…
Who is the assignee on this patent?
Snowflake Inc
What technology area does this patent fall under?
Primary CPC classification G06F16/24539. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 04 2021 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 11 related publications on this page (citations in our corpus or others sharing the same primary CPC).