~/talk

Extending your database server's abilities

Talkat PGConf India 2025 · 2025-03-05..03-07· [databases]
links:none on file
slides:none on file

Argues for moving business logic into the database by packaging operations as functions that reduce client roundtrips and lock contention, showing pgbench results with 2.5x faster on simple workloads and up to 6x faster under contention. Describes PLV8 (V8 JavaScript) running AJV for AJV JSON Schema in PLV8 with ~20k validations in ~0.3s and explains embedding WebAssembly crypto, where a hash microbenchmark reports WASM hash 1M: native 1.4s vs WASM 5s, with warmup and larger inputs narrowing the gap.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 3:30Why move logic to the database
  3. 8:00PostgreSQL extensibility features
  4. 14:46PLV8 JavaScript engine in PostgreSQL
  5. 17:20JSON Schema validation with PLV8
  6. 23:53WebAssembly in PostgreSQL with PLV8
  7. 29:56Future plans and improvements
  8. 32:05Q&A session
~/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.