Notifying modifications to external tables in database systems

    公开(公告)号:US11347728B2

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

    申请号:US17462435

    申请日:2021-08-31

    Applicant: Snowflake Inc.

    Abstract: The subject technology receives a notification that a modification has been made to an external table, the modification comprising inserting at least one row of new data to the external table, the at least one row corresponding to a first micro-partition that includes a first portion of data from the external table prior to the inserting. The subject technology, in response to the notification indicating the modification to the external table, generates a new micro-partition different from the first micro-partition, the new micro-partition including the inserted at least one row of new data and the first portion of data from the external table. The subject technology generates a refreshed materialized view based at least in part on the generated new micro-partition such that the refreshed materialized view comprises a representation of the external table after the modification has been made.

    Tracking intermediate changes in database data

    公开(公告)号:US11321309B2

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

    申请号:US17384269

    申请日:2021-07-23

    Applicant: Snowflake Inc.

    Abstract: Systems, methods, and devices for tracking a series of changes to database data are disclosed. A method includes executing a transaction to modify data in a micro-partition of a table of a database by generating a new micro-partition that embodies the transaction. The method includes associating transaction data with the new micro-partition, wherein the transaction data comprises a timestamp when the transaction was fully executed, and further includes associating modification data with the new micro-partition that comprises an indication of one or more rows of the table that were modified by the transaction. The method includes joining the transaction data with the modification data to generate joined data and querying the joined data to determine a listing of intermediate modifications made to the table between a first timestamp and a second timestamp.

    Data replication and data failover in database systems

    公开(公告)号:US11314777B2

    公开(公告)日:2022-04-26

    申请号:US17491392

    申请日:2021-09-30

    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.

    Systems, methods, and devices for managing data skew in a join operation

    公开(公告)号:US11301472B2

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

    申请号:US17364752

    申请日:2021-06-30

    Applicant: Snowflake Inc.

    Abstract: Systems, methods, and devices, for managing data skew during a join operation are disclosed. A method includes computing a hash value for a join operation and detecting data skew on a probe side of the join operation at a runtime of the join operation using a lightweight sketch data structure. The method includes identifying a frequent probe-side join key on the probe side of the join operation during a probe phase of the join operation. The method includes identifying a frequent build-side row having a build-side join key corresponding with the frequent probe-side join key. The method includes asynchronously distributing the frequent build-side row to one or more remote servers.

    Data sharing using alias objects
    406.
    发明授权

    公开(公告)号:US11295030B2

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

    申请号:US17060584

    申请日:2020-10-01

    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 pruning based on metadata
    408.
    发明授权

    公开(公告)号:US11294861B2

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

    申请号:US17141165

    申请日:2021-01-04

    Applicant: Snowflake Inc.

    Abstract: A system and method for pruning data based on metadata. The method may include receiving a query that includes a plurality of predicates and identifying one or more applicable files including database data satisfying at least one of the plurality of predicates. The identifying the one or more applicable files including reading metadata stored in a metadata store that is separate from the database data. The method further includes pruning inapplicable files comprising database data that does not satisfy at least one of the plurality of predicates to create a reduced set of files and reading the reduced set of files to execute the query.

    Data sharing using alias objects
    409.
    发明授权

    公开(公告)号:US11288393B2

    公开(公告)日:2022-03-29

    申请号:US17354972

    申请日:2021-06-22

    Applicant: Snowflake Inc.

    Abstract: A method of 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

    公开(公告)号:US20220083682A1

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

    申请号: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.

Patent Agency Ranking