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:
Grant
Type:
Utility
Filling date:
14 Aug 2020
Issue date:
4 Jan 2022