Materialized View
A materialized view stores precomputed query results. Use materialized views in a VeloDB Cloud warehouse to accelerate queries, build data models, or reuse computations over external data. Start by understanding the concepts, then choose between synchronous and asynchronous materialized views based on your freshness requirements.
Concepts
Synchronous materialized views
Synchronous Materialized View
Use synchronous materialized views to precompute single-table queries while keeping the stored results consistent with writes to the base table.
Transparent Rewriting with Synchronous Materialized View
Learn how the optimizer transparently rewrites queries to synchronous materialized views, including supported patterns and limitations.
Asynchronous materialized views
Async Materialized View Overview
Understand refresh modes, multiple base tables, partition incremental refresh, and use cases for asynchronous materialized views.
Manage and Query Async Materialized Views
Create asynchronous materialized views, query them directly, manage refreshes, and maintain partitions.
Usage Guide
Choose suitable queries, define a refresh strategy, and build asynchronous materialized views for your workload.
Transparent Rewriting with Asynchronous Materialized View
How the SPJG-pattern-based rewriting algorithm transparently rewrites existing queries to asynchronous materialized views without modifying SQL.
FAQ
Answers to frequently asked questions about partition refresh, base table versions, and operational troubleshooting.