~/talk

pg_ivm - Extensions for Rapid Materialized View Update

Talkat PostgreSQL Conference Europe 2024 · 2024-10-22..10-25· [databases]
links:none on file
slides:none on file

pg_ivm implements Incremental View Maintenance for PostgreSQL (13–17) as an extension that stores IMVs as tables and wires automatic updates with AFTER triggers and transition tables. It rewrites the view query to compute DeltaV and applies changes via INSERT/DELETE/UPDATE, auto-creating indexes when possible and adding auxiliary columns for aggregates. Typical results: a view that takes ~20s to refresh is updated in 20 milliseconds (about 500× faster), another case shows 150× faster. Tradeoffs: per-row update cost, concurrency locking, and limited support (no outer joins yet).

AI-written summary · about

  1. 0:00Introduction to pg_ivm
  2. 2:27Concepts of IVM
  3. 6:57Purpose and Overview
  4. 10:56Supported features and usage
  5. 14:06Installation and command usage
  6. 20:07Implementation mechanics
  7. 31:50Performance evaluation
  8. 34:49Performance trade-offs
  9. 36:36Development and future plans
  10. 40:02Questions and answers
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.