Using materialized views

Learn about materialized views, which are tables with data that is automatically inserted and updated from another base table.

A materialized view is a table built from data in another table with a new primary key and new properties. Queries are optimized by the primary key definition. Standard practice is to create a table for the query, and create a new table with the same data if a different query is needed. Client applications then manually update the additional tables as well as the original. In the materialized view, data is updated automatically by changes to the source table.

Note: Materialized views are not available on Astra serverless databases. For more, see Astra database limits.

Materialized Views