~/talk

Introducing a Temporal Benchmark in Benchbase

Talkat PGConf.dev 2025 · 2025-05-13..05-16· [databases, data-engineering]
links:none on file
slides:none on file

A Benchbase benchmark for temporal tables is implemented with two tables (employees, positions) and procedures for inserts, updates, deletes, joins and three FK-check SQL implementations: a 22-line exists rewrite, a 12-line lag/window version, and a 6-line rangeagg implementation. Three Postgres clusters run side-by-side; matplotlib, dstat/pcp and bpftrace analyze results. Rangeagg shows lowest 95th-percentile latency; exists only outruns others when artificially high FK failures expose short‑circuit plans. Benchbase commit/fsync behavior and reproducibility remain tricky.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:16Why temporal needs its own benchmark
  3. 7:15Three temporal foreign key implementations
  4. 14:56Benchmarking foreign key checks
  5. 18:05Results and surprising findings
  6. 20:10Future work and next steps
~/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.