Transient materialized view rewrite
    365.
    发明授权

    公开(公告)号:US12026159B2

    公开(公告)日:2024-07-02

    申请号:US18059125

    申请日:2022-11-28

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/24542

    Abstract: Queries executed against a materialized view can execute up to orders of magnitude faster than equivalent queries on a source (or base) table. However, although a query can reference a materialized view directly, a user (e.g., query author) may not know about a relevant materialized view. Moreover, if a source table has multiple materialized views generated, the user may not know which materialized view to reference in the query. Thus, embodiments of the present disclosure provide techniques for automatically rewriting queries directed to a source table to utilize existing materialized views.

    Performance indexing of production databases

    公开(公告)号:US12026140B1

    公开(公告)日:2024-07-02

    申请号:US18112198

    申请日:2023-02-21

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/2228 G06F16/254

    Abstract: Methods, systems, and computer programs are presented for providing performance metrics in an online performance analysis system employing customer production workloads. A plurality of metric source data is received from a cloud data platform. A workload is identified as a stable workload candidate based at least in part on the plurality of metric source data. The cloud data platform generates a performance index based on the workload being identified as a stable workload candidate. The performance index is tracked over a period of time to identify changes in workload.

    Overlap queries on a distributed database

    公开(公告)号:US12008001B2

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

    申请号:US17804434

    申请日:2022-05-27

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/24568 G06F16/244 G06F16/2456 G06F16/24564

    Abstract: Systems, methods, and machine-readable storage devices provide for identifying a user dataset on a distributed database. The system includes generating a similarity score dataset that indicates a similarity between the user dataset and a plurality of datasets of other users of the distributed database. The system generates a plurality of overlap queries that are configured to output overlap datasets between the user dataset and one or more of the plurality of datasets. The system further generates a results dataset by applying one or more of the plurality of overlap queries to a joined dataset comprising data from the user dataset and one of the plurality of datasets of other users on the distributed database.

    Deferred constraints support in distributed database systems

    公开(公告)号:US12007990B1

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

    申请号:US18447934

    申请日:2023-08-10

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/24537 G06F16/24542 G06F16/27

    Abstract: The subject technology receives a query, the query including a set of statements, the set of statements including a first statement comprising a first data manipulation language operation. The subject technology determines that the set of statements includes at least one statement defining a first constraint, and a second statement indicating that the first constraint is statement deferrable for performing validation of the first constraint. The subject technology generates a key value constraint check operator as a node in a query plan. The subject technology generates a key value DML operator as a second node in the query plan, the key value DML operator corresponding to the first DML operation. The subject technology performs, using the key value constraint check operator, a validation process of the first constraint based at least in part on a set of violating keys of each DML operation from the set of statements.

Patent Agency Ranking