OpenIVM is now available as a DuckDB community extension!
OpenIVM brings incremental materialized views (MVs) to DuckDB and DuckLake. Users can define a view with CREATE MATERIALIZED VIEW, make changes to its source tables, and refresh the MV when it needs to be updated. OpenIVM ships an optimizer to transform a supported query plan into its incremental counterpart, and a SQL-to-SQL compiler that applies the incremental results into the MVs on disk. The compiled SQL can be reused, ported to other machines or even translated to other dialects to make OpenIVM compatible with most database engines.
In our TPC-DI SF100 benchmark, dbt batches with 1% and 0.01% inserts ran 2.9× and 3.0× faster, respectively, than with DuckDB full refresh.
This is our first community release, for DuckDB 2.0.1 - we’d love to hear feedback, input and whether there are any bugs that should be fixed.
ila_b•10m ago
OpenIVM brings incremental materialized views (MVs) to DuckDB and DuckLake. Users can define a view with CREATE MATERIALIZED VIEW, make changes to its source tables, and refresh the MV when it needs to be updated. OpenIVM ships an optimizer to transform a supported query plan into its incremental counterpart, and a SQL-to-SQL compiler that applies the incremental results into the MVs on disk. The compiled SQL can be reused, ported to other machines or even translated to other dialects to make OpenIVM compatible with most database engines.
In our TPC-DI SF100 benchmark, dbt batches with 1% and 0.01% inserts ran 2.9× and 3.0× faster, respectively, than with DuckDB full refresh.
This is our first community release, for DuckDB 2.0.1 - we’d love to hear feedback, input and whether there are any bugs that should be fixed.
GitHub and quick start: https://github.com/openivm/openivm OpenIVM website: https://openivm.org/