SHARING MATERIALIZED VIEWS IN MULTIPLE TENANT DATABASE SYSTEMS

    公开(公告)号:US20200379995A1

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

    申请号:US16831000

    申请日:2020-03-26

    Applicant: Snowflake Inc.

    Abstract: Systems, methods, and devices for sharing materialized views in multiple tenant database systems. A method includes defining a materialized view over a source table that is associated with a first account of a multiple tenant database. The method includes defining cross-account access rights to the materialized view to a second account such that that second account can read the materialized view without copying the materialized view. The method includes modifying the source table for the materialized view. The method includes identifying whether the materialized view is stale with respect to the source table by merging the materialized view and the source table.

    Sharing Materialized Views In Multiple Tenant Database Systems

    公开(公告)号:US20200379994A1

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

    申请号:US16428395

    申请日:2019-05-31

    Applicant: Snowflake Inc.

    Abstract: Systems, methods, and devices for sharing materialized views in multiple tenant database systems. A method includes defining a materialized view over a source table that is associated with a first account of a multiple tenant database. The method includes defining cross-account access rights to the materialized view to a second account such that that second account can read the materialized view without copying the materialized view. The method includes modifying the source table for the materialized view. The method includes identifying whether the materialized view is stale with respect to the source table by merging the materialized view and the source table.

    INTERNAL RESOURCE PROVISIONING IN DATABASE SYSTEMS

    公开(公告)号:US20200327124A1

    公开(公告)日:2020-10-15

    申请号:US16778954

    申请日:2020-01-31

    Applicant: Snowflake Inc.

    Abstract: Resource provisioning systems and methods are described. In an embodiment, a system includes a plurality of shared storage devices collectively storing database data, an execution platform, and a compute service manager. The compute service manager is configured to determine a task to be executed in response to a trigger event and determine a query plan for executing the task, wherein the query plan comprises a plurality of discrete subtasks. The compute service manager is further configured to assign the plurality of discrete subtasks to one or more nodes of a plurality of nodes of the execution platform, determine whether execution of the task is complete, and in response to determining the execution of the task is complete, store a record in the plurality of shared storage devices indicating the task was completed.

    INTERNAL RESOURCE PROVISIONING IN DATABASE SYSTEMS

    公开(公告)号:US20200327123A1

    公开(公告)日:2020-10-15

    申请号:US16380848

    申请日:2019-04-10

    Applicant: Snowflake Inc.

    Abstract: Resource provisioning systems and methods are described. In an embodiment, a system includes a plurality of shared storage devices collectively storing database data, an execution platform, and a compute service manager. The compute service manager is configured to determine a task to be executed in response to a trigger event and determine a query plan for executing the task, wherein the query plan comprises a plurality of discrete subtasks. The compute service manager is further configured to assign the plurality of discrete subtasks to one or more nodes of a plurality of nodes of the execution platform, determine whether execution of the task is complete, and in response to determining the execution of the task is complete, store a record in the plurality of shared storage devices indicating the task was completed.

    Query plan cache shadow modes
    106.
    发明授权

    公开(公告)号:US12277116B2

    公开(公告)日:2025-04-15

    申请号:US18128143

    申请日:2023-03-29

    Applicant: Snowflake Inc.

    Abstract: The subject technology receives a query. The subject technology performs a lookup operation on a shadow cache. The subject technology performs a validation process on the particular query plan for determining a cache hit on the shadow cache. The subject technology performs a program building process to update the particular query plan with additional information for executing the particular query plan. The subject technology performs a compilation process to compile an updated program of the updated particular query plan. The subject technology determines that the updated particular query plan is cacheable based at least in part on the compilation process. The subject technology registers the updated particular query plan as a new entry in the shadow cache. The subject technology sends the updated program to an execution node for executing the updated particular query plan.

    ISOLATED TESTING PLATFORM FOR CLOUD DATABASE PRODUCTION QUERIES

    公开(公告)号:US20250110718A1

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

    申请号:US18479589

    申请日:2023-10-02

    Applicant: Snowflake Inc.

    Abstract: A system and method of isolated testing platform for cloud database production queries. The method includes providing an execution platform including a production deployment to receive a first group of queries from a first group of user devices. The production deployment includes a local data storage to store a first dataset associated with the first group of user devices and an execution node to process the first group of queries based on a first version of an application and based on the user data. The method includes receiving a request to test a second version of the application based on the first version of the application. The method includes deploying a ghost deployment onto the execution platform. The method includes replaying the first group of queries on the ghost deployment using copies of the first version of the application and the second version of the application.

    DYNAMIC PIVOT IMPLEMENTATION USING OBJECT AGGREGATION

    公开(公告)号:US20250094418A1

    公开(公告)日:2025-03-20

    申请号:US18525811

    申请日:2023-11-30

    Applicant: Snowflake Inc.

    Abstract: Examples provide a method for performing dynamic pivot queries employing PANDA-compatible semantics inside a cloud data platform workload. A SQL engine receives a pivot query specifying a pivot column for dynamically determining pivot values in a dynamic pivot operation. The SQL engine identifies, in the pivot query, a keyword or a subquery indicating dynamic determination of the pivot values. Based on identifying the keyword or the subquery indicating the dynamic determination of the pivot values, the SQL engine determines distinct pivot values for the pivot column by evaluating the keyword or executing the subquery. The evaluating of the keyword includes issuing a query to a data store to obtain the distinct pivot values for the pivot column. The SQL engine performs the dynamic pivot operation using the distinct pivot values for the pivot column.

    JOIN ELIMINATION
    109.
    发明公开
    JOIN ELIMINATION 审中-公开

    公开(公告)号:US20240338367A1

    公开(公告)日:2024-10-10

    申请号:US18746644

    申请日:2024-06-18

    Applicant: Snowflake Inc.

    CPC classification number: G06F16/24544 G06F16/24537

    Abstract: Techniques for join elimination are described herein. Join elimination can identify and eliminate unnecessary joins in a query plan node. For example, join elimination can involve a semantic query optimization technique, which removes reference to a table whose columns are only referenced in join predicates if the joins do not filter/expand rows in the result. Such joins can cause significant performance issues on larger datasets if not optimized.

Patent Agency Ranking