Snowflake Inc.
TRANSIENT MATERIALIZED VIEW REWRITE

Last updated:

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.

Status:
Application
Type:

Utility

Filling date:

30 Nov 2021

Issue date:

24 Mar 2022