Materialized views are obviously useful

62 points by carlana


frankmcsherry

If folks have questions about incrementally maintaining materialized views, ask away. (Materialize employee).

The main tl;dr is that yes they usually work great, though it does depend on your queries (no magic if you want to re-hash the world, or various SQL equivalents). The occasional surprise is that the “maintenance” requires ongoing work and state as the data change, which is a cost. One way to think about IVM is as shifting the costs from reads (as in most conventional databases) to writes. Many use cases want to scale their reads, ideally without paying much more or eating a performance tax, and maintained materialized views fit well in that setting.