Incremental maintenance of query results

    公开(公告)号:US11762855B1

    公开(公告)日:2023-09-19

    申请号:US17931590

    申请日:2022-09-13

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/24539 G06F7/14 G06F16/24542

    Abstract: Provided herein are systems and methods for a database object (e.g., materialized table) configuration including using the database object for incremental maintenance of query results. For example, a method includes creating a materialized table using a table definition. The table definition includes a query on one or more base tables and a lag duration value. The lag duration value indicates a maximum time period that a result of a prior refresh of the query can lag behind a current time instance. A delta set for the one or more base tables is determined. The delta set includes at least one change applied to the one or more base tables since the prior refresh of the query. The delta set is merged with the materialized table to perform an incremental update of the materialized table.

    Stream object type for query processing

    公开(公告)号:US11514023B1

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

    申请号:US17650604

    申请日:2022-02-10

    Applicant: Snowflake Inc.

    Abstract: Provided herein are systems and methods for a stream object configuration, including configuring and processing streams on views. For example, a method includes configuring by at least one hardware processor at a first computing node, a view on a source table for shared access with at least a second computing node. The view includes a query associated with the source table. The query associated with the source table is executed to obtain a plurality of query results. A stream object is generated on the view. The stream object includes the plurality of query results of executing the query and a corresponding plurality of time stamps associated with times the plurality of query results are obtained. The generated stream object is configured for the shared access with at least the second computing node.

    Stream object type for query processing

    公开(公告)号:US11860850B2

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

    申请号:US18048912

    申请日:2022-10-24

    Applicant: Snowflake Inc.

    Abstract: Provided herein are systems and methods for a stream object configuration, including configuring and processing streams on views and streams on tables. For example, a method includes parsing, by at least one hardware processor, a received query to determine a plurality of data processing operations associated with a base table. A stream object on the base table is generated. The stream object includes a plurality of query results from executing the plurality of data processing operations and a corresponding plurality of time stamps of times the plurality of query results are obtained. A stream expansion of the stream object is performed. The stream expansion is based on computing changes to the base table from the plurality of data processing operations.

    STREAM OBJECT TYPE FOR QUERY PROCESSING

    公开(公告)号:US20230092367A1

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

    申请号:US18048912

    申请日:2022-10-24

    Applicant: Snowflake Inc.

    Abstract: Provided herein are systems and methods for a stream object configuration, including configuring and processing streams on views and streams on tables. For example, a method includes parsing, by at least one hardware processor, a received query to determine a plurality of data processing operations associated with a base table. A stream object on the base table is generated. The stream object includes a plurality of query results from executing the plurality of data processing operations and a corresponding plurality of time stamps of times the plurality of query results are obtained. A stream expansion of the stream object is performed. The stream expansion is based on computing changes to the base table from the plurality of data processing operations.

Patent Agency Ranking