Learn how to materialize a view to improve its performance.

To improve the performance of a view, you can materialize it. This operation computes the data for the view and stores it in memory, just like a table. You can expect a 3-6 times performance improvement on a materialized view over a view that is not materialized. However, materialized views take up space in memory, so weigh the tradeoffs and benefits of materializing a view ahead of time.

To materialize a view:

  1. To find your view, click Data in the top menu, and choose Views.

  2. Click the name of your view.

  3. Click Joins.

  4. If needed, add joins.

  5. Under Materialization, click Materialize.

  6. Fill in the details for primary key, sharding key, and number of shards.

  7. Click Materialize.

  8. In the Schedule data updates dialog, select an option for Repeats (Monthly, Weekly, or Daily).

    If you don’t want to set a schedule now, choose Setup later and skip to Step 11.

  9. Fill in the schedule details:

  10. Click Update.

  11. You can see the status of the materialization as it progresses. Click Update status to refresh it.

  12. When it says Materialized your materialized view is ready for search.

    If after some time, the status has not changed to Materialized, check the list of statuses and corresponding actions to take.