~/talk

The Way for Updating Materialized Views Rapidly

Talkat PGCon 2020 · 2020-05-26..05-29· [databases]
links:none on file
links:none on file
slides:none on file

A PostgreSQL patch implements Incremental View Maintenance via a new CREATE INCREMENTAL MATERIALIZED VIEW syntax, using AFTER triggers and transition tables to extract table deltas, rewriting the view query to compute deltas, and applying changes with SQL. It already supports count/sum/avg/max (hidden columns for multiplicity), self-joins, outer joins and EXISTS-style subqueries. Measured on TPCH-like data a full REFRESH takes ~24 seconds while the incremental update applies in ~22 milliseconds (~1000x faster). Limitations include window functions, complex subqueries, user aggregates, and some outer-join/aggregate combinations; patch is on pgsql-hackers/GitHub.

AI-written summary · about

  1. 0:00Introduction to IVM
  2. 5:43IVM implementation overview
  3. 15:38Progress since initial patch
  4. 21:47Outer join support in IVM
  5. 27:58Performance improvements
  6. 28:41Live demonstration
  7. 34:44Current limitations
  8. 36:51Future work and summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.