Enzyme: Incremental View Maintenance for Data Engineering

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Yadav, Ritwik, Abeysinghe, Supun, Yang, Min, Helt, Jeffrey, Ung, Manuel, Chen, Yuhong, Hu, Melody, Wei, William, Yang, Yiming, van Bussel, Tom, Chatterji, Sourav, Roy, Indrajit, Lappas, Paul, Papakonstantinou, Yannis, Fayyaz, Tahir, Aslam, Bilal, Bunker, Ross, Armbrust, Michael, Shankar, Shrikanth
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913086675353600
author Yadav, Ritwik
Abeysinghe, Supun
Yang, Min
Helt, Jeffrey
Ung, Manuel
Chen, Yuhong
Hu, Melody
Wei, William
Yang, Yiming
van Bussel, Tom
Chatterji, Sourav
Roy, Indrajit
Lappas, Paul
Papakonstantinou, Yannis
Fayyaz, Tahir
Aslam, Bilal
Bunker, Ross
Armbrust, Michael
Shankar, Shrikanth
author_facet Yadav, Ritwik
Abeysinghe, Supun
Yang, Min
Helt, Jeffrey
Ung, Manuel
Chen, Yuhong
Hu, Melody
Wei, William
Yang, Yiming
van Bussel, Tom
Chatterji, Sourav
Roy, Indrajit
Lappas, Paul
Papakonstantinou, Yannis
Fayyaz, Tahir
Aslam, Bilal
Bunker, Ross
Armbrust, Michael
Shankar, Shrikanth
contents Materialized views are a core construct in database systems, used to accelerate analytical queries and optimize batch pipelines for extract-transform-load (ETL) workflows. Maintaining view consistency as underlying data evolves is a fundamental challenge, especially in high-throughput and real-time settings. Incremental view maintenance (IVM) has been studied for decades and continues to attract significant investment from major database vendors. However, most industrial systems either offer limited SQL-operator coverage or require users to hand-tune refresh strategies. This paper presents Enzyme, an IVM engine developed at Databricks to power Spark Declarative Pipelines. It provides a built-in, end-to-end approach to incremental pipelines, utilizing materialized views as first-class building blocks. By automating refresh planning, Enzyme reduces total cost of ownership and lets users focus on business logic rather than MV mechanics. Validation across thousands of large-scale production pipelines spanning diverse application domains has demonstrated substantial computational efficiency gains, yielding a cumulative daily compute reduction of billions of CPU seconds. Built atop Apache Spark primitives, Enzyme adds a cost-based optimization layer that selects refresh strategies for collections of materialized views organized into pipelines. Enzyme's modular architecture is designed to generalize across data sources and query engines. We present key design decisions for incremental refresh planning and execution, including optimizations that exploit batching opportunities across materialized view sources. Experimental results on standard benchmarks demonstrate significant performance improvements at scale.
format Preprint
id arxiv_https___arxiv_org_abs_2603_27775
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Enzyme: Incremental View Maintenance for Data Engineering
Yadav, Ritwik
Abeysinghe, Supun
Yang, Min
Helt, Jeffrey
Ung, Manuel
Chen, Yuhong
Hu, Melody
Wei, William
Yang, Yiming
van Bussel, Tom
Chatterji, Sourav
Roy, Indrajit
Lappas, Paul
Papakonstantinou, Yannis
Fayyaz, Tahir
Aslam, Bilal
Bunker, Ross
Armbrust, Michael
Shankar, Shrikanth
Databases
H.2.4
Materialized views are a core construct in database systems, used to accelerate analytical queries and optimize batch pipelines for extract-transform-load (ETL) workflows. Maintaining view consistency as underlying data evolves is a fundamental challenge, especially in high-throughput and real-time settings. Incremental view maintenance (IVM) has been studied for decades and continues to attract significant investment from major database vendors. However, most industrial systems either offer limited SQL-operator coverage or require users to hand-tune refresh strategies. This paper presents Enzyme, an IVM engine developed at Databricks to power Spark Declarative Pipelines. It provides a built-in, end-to-end approach to incremental pipelines, utilizing materialized views as first-class building blocks. By automating refresh planning, Enzyme reduces total cost of ownership and lets users focus on business logic rather than MV mechanics. Validation across thousands of large-scale production pipelines spanning diverse application domains has demonstrated substantial computational efficiency gains, yielding a cumulative daily compute reduction of billions of CPU seconds. Built atop Apache Spark primitives, Enzyme adds a cost-based optimization layer that selects refresh strategies for collections of materialized views organized into pipelines. Enzyme's modular architecture is designed to generalize across data sources and query engines. We present key design decisions for incremental refresh planning and execution, including optimizations that exploit batching opportunities across materialized view sources. Experimental results on standard benchmarks demonstrate significant performance improvements at scale.
title Enzyme: Incremental View Maintenance for Data Engineering
topic Databases
H.2.4
url https://arxiv.org/abs/2603.27775