Managing database failover based on transaction request time

    公开(公告)号:US12158897B2

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

    申请号:US18123108

    申请日:2023-03-17

    Applicant: Snowflake Inc.

    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 executing 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.

    Granting access to resources of a database

    公开(公告)号:US12013960B2

    公开(公告)日:2024-06-18

    申请号:US18343361

    申请日:2023-06-28

    Applicant: SNOWFLAKE INC.

    CPC classification number: G06F21/6218 G06F16/256 G06F2221/2145

    Abstract: A method of sharing data in a multi-tenant database includes inspecting, by a processing device of a multiple tenant database, a sharer account to determine an existence of a link between an alias object in a target account and a database, wherein the database is linked to a first role object included in a share object in the sharer account. The method includes granting a second role object, in the target account, access rights to the alias object, wherein the first role object having one or more grants to one or more resources of the sharer account, and wherein the target account accesses the one or more resources using the one or more grants of the share object and using the alias object without at least one of copying the one or more resources or transmitting the one or more resources.

    Multi-level data for database systems

    公开(公告)号:US11636114B2

    公开(公告)日:2023-04-25

    申请号:US17123551

    申请日:2020-12-16

    Applicant: Snowflake Inc.

    Abstract: The subject technology receives first metadata corresponding to a set of micro-partitions. The subject technology stores a first data structure and a second data structure in storage as a first file and a second file, first data structure including the first metadata and a second data structure including second metadata, the first metadata corresponding to a set of micro-partitions, the second metadata for a grouping of the first metadata, the second data structure including information associating the second metadata to the first metadata. The subject technology stores third metadata for a table, the third metadata comprising information about data stored in a micro-partition of the table.

    Data replication and data failover in database systems

    公开(公告)号:US11630845B2

    公开(公告)日:2023-04-18

    申请号:US17703804

    申请日:2022-03-24

    Applicant: Snowflake Inc.

    Abstract: Replication and failover of database data is disclosed. A method includes copying a first dataset of a first account stored in a primary deployment to a secondary deployment. The method includes determining that the first dataset stored in the primary deployment is unavailable. The method includes executing a first transaction on the first dataset at the secondary deployment in response to determining that the first dataset stored in the primary deployment is unavailable. The method includes executing a second transaction on a second dataset of a second account at the primary deployment while the first dataset of the first account stored in the primary deployment is unavailable.

    DATA SHARING USING ALIAS OBJECTS
    35.
    发明申请

    公开(公告)号:US20220207169A1

    公开(公告)日:2022-06-30

    申请号:US17697744

    申请日:2022-03-17

    Applicant: SNOWFLAKE INC.

    Abstract: A method of sharing data in a multi-tenant database includes inspecting, by a processing device of a multiple tenant database, a sharer account to determine a presence of a grant to a second role object, in a target account, of access rights to a first role object included in the sharer account. The method includes granting the second role object, in the target account, access rights to an alias object. The first role object having one or more grants to the one or more resources of the sharer account. The target account accesses the one or more resources using the one or more grants of the first role object and using the alias object without at least one of copying the one or more resources or transmitting the one or more resources.

    Systems, methods, and devices for encrypting database data

    公开(公告)号:US11188674B2

    公开(公告)日:2021-11-30

    申请号:US17228379

    申请日:2021-04-12

    Applicant: Snowflake Inc.

    Abstract: A method for encrypting database data includes generating an encryption key for a first file stored in a data store, wherein a table in a database comprises an entry pointing to the first file. The method includes generating a second file by encrypting the data the first file in the data store using the encryption key without modifying the first file. The method includes, in response to generating the second file, modifying the entry in the table to point to the second file, wherein the modification of the entry is performed atomically. A process for rekeying from the first file to the second file may happen in the background without blocking, interfering, or otherwise obstructing user interaction with a database system.

    Data replication and data failover in database systems

    公开(公告)号:US11151161B2

    公开(公告)日:2021-10-19

    申请号:US16392258

    申请日:2019-04-23

    Applicant: Snowflake Inc.

    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.

    Storing metadata using data structures in database systems

    公开(公告)号:US11106678B2

    公开(公告)日:2021-08-31

    申请号:US17086279

    申请日:2020-10-30

    Applicant: Snowflake Inc.

    Abstract: The subject technology receives first metadata corresponding to a set of micro-partitions. The subject technology stores a first data structure and a second data structure in storage as a first file and a second file, first data structure including the first metadata and a second data structure including second metadata, the first metadata corresponding to a set of micro-partitions, the second metadata for a grouping of the first metadata, the second data structure including information associating the second metadata to the first metadata. The subject technology stores third metadata for a table, the third metadata comprising: cumulative table metadata comprising global information about a plurality of micro-partitions of the table, the cumulative table metadata being stored in a metadata micro-partition associated with the table.

    Systems, Methods, and Devices for Encrypting Database Data

    公开(公告)号:US20210256153A1

    公开(公告)日:2021-08-19

    申请号:US17228379

    申请日:2021-04-12

    Applicant: Snowflake Inc.

    Abstract: A method for encrypting database data includes generating an encryption key for a first file stored in a data store, wherein a table in a database comprises an entry pointing to the first file. The method includes generating a second file by encrypting the data the first file in the data store using the encryption key without modifying the first file. The method includes, in response to generating the second file, modifying the entry in the table to point to the second file, wherein the modification of the entry is performed atomically. A process for rekeying from the first file to the second file may happen in the background without blocking, interfering, or otherwise obstructing user interaction with a database system.

    Transferring metadata from immutable storage

    公开(公告)号:US11048687B2

    公开(公告)日:2021-06-29

    申请号:US17086245

    申请日:2020-10-30

    Applicant: Snowflake Inc.

    Abstract: The subject technology generates and stores a new version set of one or more table-metadata files, the new version set of one or more table-metadata files comprising table metadata for a new version of a database table. The subject technology determines that a plurality of table-metadata files are not included in a cache. The subject technology downloads, in parallel, the plurality of table-metadata files from immutable storage. The subject technology stores, in the cache, the plurality of table-metadata files. The subject technology reads, among the plurality of table-metadata files, a first table-metadata file before a second table-metadata file has been fully downloaded, the plurality of table-metadata files comprising at least the first table-metadata file and the second table-metadata file.

Patent Agency Ranking