Data sharing in a multi-tenant database system

    公开(公告)号:US10592681B2

    公开(公告)日:2020-03-17

    申请号:US15402906

    申请日:2017-01-10

    Applicant: Snowflake Inc.

    Abstract: A method for sharing data in a multi-tenant database includes generating a share object in a first account comprising a share role. The method includes associating one or more access rights with the share role, wherein the one or more access rights indicate which objects in the first account are accessible based on the share object. The method includes granting, to a second account, cross-account access rights to the share role or share object in the first account. The method includes receiving a request from the second account to access data or services of the first account. The method further includes providing a response to the second account based on the data or services of the first account.

    ACTIVE INVALIDATION OF METADATA CACHE ENTRIES

    公开(公告)号:US20250124035A1

    公开(公告)日:2025-04-17

    申请号:US18987523

    申请日:2024-12-19

    Applicant: Snowflake Inc.

    Abstract: Techniques for active invalidation of cache entries are described. A first timestamp and a second timestamp are stored by a compute instance, the first timestamp corresponding to an initial time the computing instance read from a version update log in a database and the second timestamp corresponding to a last time the computing instance read from the version update log in the database. The compute instance can read records from the version update log that are associated with version timestamps greater than the second timestamp. The compute instance can invalidate a first set of cache entries with older versions stored in a cache based on reading the records, retaining a second set of cache entries, and then execute a query using the second set of cache entries.

    ACTIVE INVALIDATION OF METADATA CACHE ENTRIES

    公开(公告)号:US20240330296A1

    公开(公告)日:2024-10-03

    申请号:US18128152

    申请日:2023-03-29

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/24552 G06F16/2358 G06F16/2365

    Abstract: Techniques for active invalidation of cache entries are described. A first timestamp and a second timestamp are stored by a compute instance, the first timestamp corresponding to an initial time the computing instance read from a version update log in a database and the second timestamp corresponding to a last time the computing instance read from the version update log in the database. The compute instance can read records from the version update log that are associated with version timestamps greater than the second timestamp. The compute instance can invalidate a first set of cache entries with older versions stored in a cache based on reading the records, retaining a second set of cache entries, and then execute a query using the second set of cache entries.

    Data replication and data failover in database systems

    公开(公告)号:US12105734B2

    公开(公告)日:2024-10-01

    申请号:US16700958

    申请日:2019-12-02

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/273 G06F16/245 H04L67/1097

    Abstract: Replication and failover of database data is disclosed. A method includes replicating database data stored in a primary deployment such that the database data is further stored in a secondary deployment. The method includes executing one or more updates to the database data at the secondary deployment when the primary deployment is unavailable and propagating the one or more updates to the primary deployment when the primary deployment becomes available again. The method includes executing queries on the database data at the primary deployment when the primary deployment is available.

    Data sharing using secure views
    55.
    发明授权

    公开(公告)号:US11768953B2

    公开(公告)日:2023-09-26

    申请号:US16937415

    申请日:2020-07-23

    Applicant: Snowflake Inc.

    CPC classification number: G06F21/6227 G06F16/2282 G06F16/245 G06F21/6218

    Abstract: Systems, methods, and devices for implementing secure views for zero-copy data sharing in a multi-tenant database system are disclosed. A method includes generating a share object in a first account comprising a share role. The method includes associating view privileges for the share object such that an underlying detail of the share object comprises a secure view definition. The method includes granting, to a second account, cross-account access rights to the share role or share object in the first account. The method includes receiving a request from the second account to access data or services of the first account and providing a response to the second account based on the data or services of the first account. The method is such that the underlying detail of the share object that comprises the secure view definition is hidden from the second account and visible to the first account.

    MANAGING DATABASE FAILOVER BASED ON TRANSACTION REQUEST TIME

    公开(公告)号:US20230267131A1

    公开(公告)日:2023-08-24

    申请号:US18123108

    申请日:2023-03-17

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/273 G06F16/245 H04L67/1097

    Abstract: Methods and systems of managing database failure based on transaction request time is disclosed. A method includes copying a first dataset stored in a primary deployment to a secondary deployment to generate a second dataset. The method includes determining a first arrival time of a first request to perform a first transaction. The method includes determining a second arrival time of a second request to perform a second transaction. The method includes e00000xecuting the first transaction on the first dataset at the primary deployment in response to determining the first arrival time of the first request to perform the first transaction. The method includes executing the second transaction on the second dataset at the secondary deployment in response to determining the second arrival time of the second request to perform the second transaction.

    Encrypting database files
    57.
    发明授权

    公开(公告)号:US11586761B2

    公开(公告)日:2023-02-21

    申请号:US17537312

    申请日:2021-11-29

    Applicant: Snowflake Inc.

    Abstract: A method for encrypting database files includes generating a mapping for a plurality of encrypted files. A first encrypted file of the plurality of encrypted files is encrypted with a first encryption key. The method includes generating a second encrypted file by re-encrypting, for a period of time, data in the first encrypted file using a second encryption key. The first encrypted file remains accessible to one or more queries during the period of time. The method includes updating the mapping to associate the second encrypted file with the first encrypted file. The mapping is updated after the second encrypted file has been generated. The method includes preventing a query from accessing the first encrypted file after the second encrypted file has been generated.

    DATA SHARING USING ALIAS OBJECTS
    58.
    发明申请

    公开(公告)号:US20220222365A1

    公开(公告)日:2022-07-14

    申请号:US17710056

    申请日:2022-03-31

    Applicant: SNOWFLAKE INC.

    Abstract: A method for sharing data in a multi-tenant database includes generating a share object in a first account comprising a share role. The method includes associating one or more access rights with the share role, wherein the one or more access rights indicate which objects in the first account are accessible based on the share object. The method includes granting, to a second account, cross-account access rights to the share role or share object in the first account. The method includes receiving a request from the second account to access data or services of the first account. The method further includes providing a response to the second account based on the data or services of the first account.

    Data sharing in a multi-tenant database system

    公开(公告)号:US11386220B2

    公开(公告)日:2022-07-12

    申请号:US17539145

    申请日:2021-11-30

    Applicant: SNOWFLAKE INC.

    Abstract: A method for sharing data in a multi-tenant database includes receiving, by a target account of a multiple tenant database, access rights of a share object in a first account of the multiple tenant database, wherein the share object having access rights to a database object of the first account and wherein access to the database object of the first account by the target account is based on the access rights of the share object. The method also includes receiving, by one or more processors of the target account, access rights to an alias object, wherein the alias object references the database object of the first account.

    Data sharing using secure views
    60.
    发明授权

    公开(公告)号:US11379605B2

    公开(公告)日:2022-07-05

    申请号:US17332793

    申请日:2021-05-27

    Applicant: Snowflake Inc.

    Abstract: Systems, methods, and devices for secure view-based data sharing are disclosed. A method in accordance with embodiments disclosed herein comprises associating, by one or more processors, view privileges of a secure view with one or more of a plurality of underlying details of a share object of a first account such that each of the one or more underlying details of the share object comprises a definition of the secure view. The method further comprises: in response to receiving a request from a second account to access any underlying details of the share object, using a secure projection that does not match any rewrite rule preconditions to rewrite a query plan of the request to prevent expressions that do not originate from the secure view from being pushed down below a boundary of the secure view.

Patent Agency Ranking