Dagster Data Engineering Glossary:
Auto-materialize
A definition of auto-materialization
"auto materialization" refers to the automatic execution of computations and the persistence of their results into a physical storage medium, such as a disk or memory, without the need for manual intervention. This concept is particularly relevant in systems that manage data assets and pipelines, where the goal is to ensure that data is up-to-date and available for downstream consumption.
Dagster, for instance, has the concept of auto materialization policies that can be applied to data assets. These policies determine when and how assets should be automatically materialized based on certain conditions, such as changes in upstream data, freshness requirements, or specific schedules. Auto materialization helps in maintaining the data's relevance and freshness by automating the process of updating data assets when their dependencies have changed, without requiring users to manually trigger these updates.
Auto-materialization policies
"auto-materialization policies" refer to the rules or strategies that determine when and how data assets should be automatically materialized. These policies can be configured to automatically materialize assets based on certain conditions or triggers, such as changes in upstream data, code updates, or according to a schedule.
For example, Dagster supports different types of auto-materialization policies, such as "eager" and "lazy" policies. An eager policy might materialize an asset as soon as any of its dependencies are updated, while a lazy policy might delay materialization until the asset is explicitly requested or needed.
These policies help manage the materialization of assets in a way that balances performance, resource utilization, and the freshness of data. They can be customized to fit the specific needs of a data pipeline, ensuring that data is materialized in the most efficient and effective manner for a given use case.
You can read more about how Dagster handles auto materialization in the Dagster docs.