Automated query retry in a database system

    公开(公告)号:US11599440B2

    公开(公告)日:2023-03-07

    申请号:US17663253

    申请日:2022-05-13

    Applicant: Snowflake Inc.

    Abstract: Techniques for automated query retry in a database platform include assigning by at least one hardware processor a first execution of a query directed to database data to a first execution node of a plurality of execution nodes of an execution platform. The first execution node uses a first set of configurations during the first execution. The techniques further include determining that the first execution of the query by the first execution node results in a failed execution. The query is transferred to a second execution node of the plurality of execution nodes. A second execution of the query at the second execution node is caused. The second execution node uses a second set of configurations during the second execution. A cause of the failed execution at the first execution node is determined based on a result of the second execution of the query at the second execution node.

    CLUSTER INSTANCE BALANCING OF A DATABASE SYSTEM ACROSS ZONES

    公开(公告)号:US20230069578A1

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

    申请号:US17936169

    申请日:2022-09-28

    Applicant: Snowflake Inc.

    Abstract: The subject technology selects a particular zone among multiple zones based on a target skew to meet a global balancing of cluster instances. The subject technology deploys a particular type of cluster instance to the particular zone. The subject technology, for each zone from the multiple zones, determines a respective number of cluster instances. The subject technology identifies a second particular type of cluster instance to remove based on a total number of the second particular type of cluster instance in the multiple zones and a second total number of the particular type of cluster instance in the multiple zones. The subject technology removes the second particular type of cluster instance from a second particular zone to meet the global balancing of cluster instances in the multiple zones.

    Identifying software regressions based on query retry attempts in a database environment

    公开(公告)号:US11494369B2

    公开(公告)日:2022-11-08

    申请号:US17536180

    申请日:2021-11-29

    Applicant: Snowflake Inc.

    Abstract: Systems, methods, and devices for retrying a query. A method includes receiving a query directed to database data and assigning execution of the query to one or more execution nodes of an execution platform, the one or more execution nodes configured to execute the query on a first version of a database platform. The method includes determining that execution of the query was unsuccessful. The method includes assigning a first retry execution of the query to the one or more execution nodes of the execution platform and determining whether a regression or an intermittent fault caused the execution of the query to be unsuccessful based at least in part on whether the first retry execution of the query was successful or unsuccessful.

    AUTOMATED QUERY RETRY EXECUTION IN A DATABASE SYSTEM

    公开(公告)号:US20220327040A1

    公开(公告)日:2022-10-13

    申请号:US17809780

    申请日:2022-06-29

    Applicant: Snowflake Inc.

    Abstract: Techniques for automated query retry in a database platform include decoding, by at least one hardware processor, a query directed to database data from a client account of a database platform. The method further includes decoding, by the at least one hardware processor, an indication that execution of the query on at least one computing node of the database platform results in a failed execution. The method further includes configuring a processing loop with continuous retry executions of the query on the at least one computing node based on the indication. The method further includes exiting the processing loop based on detecting a retry execution of the continuous retry executions results in at least one successful execution of the query. The method includes logging each attempt to execute the query during the continuous retry executions in a query status log until the at least one successful execution of the query.

    DECOUPLING INTERNAL AND EXTERNAL TASKS IN A DATABASE ENVIRONMENT

    公开(公告)号:US20210064503A1

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

    申请号:US17007589

    申请日:2020-08-31

    Applicant: Snowflake Inc.

    Abstract: Systems, methods, and devices for retrying a query. A method includes receiving, by a first database query manager, a query directed to database data from a client account. The method includes assigning an original execution of the query to one or more execution nodes of an execution platform. The method includes determining the original execution of the query was unsuccessful. The method includes transferring the query to a second database query manager configured to manage internal tasks for improving operation of a database platform that are not received from client accounts. The method includes assigning, by the second database query manager, a retry execution of the query to one or more execution nodes of an execution platform.

Patent Agency Ranking