VIRTUAL WAREHOUSE POOLS FOR EXECUTING TASKS

    公开(公告)号:US20210342360A1

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

    申请号:US17345484

    申请日:2021-06-11

    Applicant: Snowflake Inc.

    Abstract: The subject technology determines a number of execution nodes to execute a task. The subject technology determines that no virtual warehouse from a pool of virtual warehouses includes at least the number of execution nodes. The subject technology generates a new virtual warehouse including at least the number of execution nodes. The subject technology determines whether a previous execution of a prior task was completed in less than a threshold time period of a time interval, the time interval corresponding to a particular period of time for executing at least one task. The subject technology increments a score corresponding to a size of a particular virtual warehouse. The subject technology selects the new virtual warehouse from the pool of virtual warehouses based at least in part on the incremented score and the number of execution nodes included in the selected new virtual warehouse.

    Task scheduling in database systems
    182.
    发明授权

    公开(公告)号:US11106658B2

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

    申请号:US16203322

    申请日:2018-11-28

    Applicant: Snowflake Inc.

    Abstract: Systems, methods, and devices for executing a task on database data in response to a trigger event are disclosed. A method includes executing a transaction on a table comprising database data, wherein executing the transaction comprises generating a new table version. The method includes, in response to the transaction being fully executed, generating a change tracking entry comprising an indication of one or more modifications made to the table by the transaction and storing the change tracking entry in a change tracking stream. The method includes executing a task on the new table version in response to a trigger event.

    TRACKING INTERMEDIATE CHANGES IN DATABASE DATA

    公开(公告)号:US20210216535A1

    公开(公告)日:2021-07-15

    申请号:US17219600

    申请日:2021-03-31

    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.

    QUERYING OVER EXTERNAL TABLES IN DATABASE SYSTEMS

    公开(公告)号:US20210200754A1

    公开(公告)日:2021-07-01

    申请号:US17200751

    申请日:2021-03-12

    Applicant: Snowflake Inc.

    Abstract: Systems, methods, and devices for querying over an external table are disclosed. A method includes connecting a database platform to an external table such that the database platform has read access for the external table and does not have write access for the external table. The method includes receiving a query comprising a predicate, the query directed at least to data in the external table. The method includes determining, based on metadata, one or more partitions in the external table comprising data satisfying the predicate. The method includes pruning, based on the metadata, all partitions in the external table that do not comprise any data satisfying the predicate. The method includes generating a query plan comprising a plurality of discrete subtasks. The method includes assigning, based on the metadata, the plurality of discrete subtasks to one or more nodes in an execution platform.

    Managed virtual warehouses for tasks

    公开(公告)号:US11048716B1

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

    申请号:US16779128

    申请日:2020-01-31

    Applicant: Snowflake Inc.

    Abstract: The subject technology receives a task for executing in a network-based data warehouse system. The subject technology determines a number of execution nodes to execute the task. The subject technology, based on the number of execution nodes, selects a virtual warehouse that includes at least the number of execution nodes. The subject technology sends the task to the virtual warehouse for execution. The subject technology receives an indication that execution of the task is complete. Further, the subject technology provides an indication that the virtual warehouse is idle.

    TRANSACTIONAL STORES OF CHANGE TRACKING DATA

    公开(公告)号:US20210157785A1

    公开(公告)日:2021-05-27

    申请号:US17143054

    申请日:2021-01-06

    Applicant: Snowflake Inc.

    Abstract: Systems, methods, and devices for generating a transactional change tracking summary for a database. A method includes executing a transaction on a table of a database, wherein the table includes a micro-partition and the transaction is executed on the micro-partition. The method includes, in response to the transaction being fully executed, generating a change tracking entry comprising an indication of one or modifications made to the table by the transaction. The method includes storing the change tracking entry in a change tracking stream, wherein the change tracking stream includes one or more sequential change tracking entries that each correspond to a different transaction that is fully executed on the table.

    Tracking intermediate changes in database data

    公开(公告)号:US10997162B2

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

    申请号:US16824676

    申请日:2020-03-19

    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.

    Transactional streaming of change tracking data

    公开(公告)号:US10997151B2

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

    申请号:US16705566

    申请日:2019-12-06

    Applicant: Snowflake Inc.

    Abstract: Systems, methods, and devices for generating a transactional change tracking summary for a database. A method includes executing a transaction on a table of a database, wherein the table includes a micro-partition and the transaction is executed on the micro-partition. The method includes, in response to the transaction being fully executed, generating a change tracking entry comprising an indication of one or modifications made to the table by the transaction. The method includes storing the change tracking entry in a change tracking stream, wherein the change tracking stream includes one or more sequential change tracking entries that each correspond to a different transaction that is fully executed on the table.

    PROCESSING TRANSACTIONS ON JOURNALED TABLES

    公开(公告)号:US20210042283A1

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

    申请号:US17078437

    申请日:2020-10-23

    Applicant: Snowflake Inc.

    Abstract: The subject technology receives one or more requests to execute one or more requested transactions on a journal table of a database, the journal table comprising a snapshot and a log table. The subject technology, based on the one or more requests, inserts a new row into the log table for each requested transaction, each new row reflecting a corresponding requested transaction. The subject technology receives, after the one or more requested transactions have been executed, a second request to execute a second requested transaction on the journal table. The subject technology generates, prior to executing the second requested transaction, a second snapshot, the second snapshot comprising a second representation of data in the journal table after the one or more requested transactions have been executed, the second snapshot stored in a third micro-partition different than the first micro-partition and the second micro-partition.

    Tracking changes in database data
    190.
    发明授权

    公开(公告)号:US10824617B2

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

    申请号:US16705424

    申请日:2019-12-06

    Applicant: Snowflake Inc.

    Abstract: Systems, methods, and devices for tracking changes to database data. A method includes determining a change to be executed on a micro-partition of a table of a database and executing the change on the table by generating a new micro-partition that embodies the change. The method includes updating a table history that includes a log of changes made to the table, wherein each change in the log of changes includes a timestamp, and wherein updating the table history includes inserting the change into the log of changes.

Patent Agency Ranking