When employing the view materialization strategy, dbt™️ reconstructs your model as a view during each run using a create view as statement.
view
create view as
Storage efficiency: No additional data storage is required.
Real-time data: Views based on source data always reflect the most current records.
Performance issues: Views that involve substantial transformations or are layered upon other views may experience slow query times.
Initial approach: Begin by implementing views for your models. Consider alternative materializations only when you encounter performance challenges.
Ideal use case: Views are most effective for models that involve minimal transformations, such as column renaming or recasting.
Last updated 1 year ago
Was this helpful?