~/talk

PostgreSQL sharding, state of the art

Talkat PGConf NYC 2021 · 2021-12-02..12-03· [databases]
links:none on file
slides:none on file

Postgres relies on postgres_fdw plus declarative partitioning for built‑in sharding, with concrete features added over versions: FDW since 9.3, aggregate pushdown and writable foreign partitions in v10, partition‑wise join and aggregate in v11, and bulk insert in v14. Examples show joins falling from 47s to 123ms, a GROUP BY from 49s to ~2s, a global count from 49s to 1.7s, and 1M row inserts from 466s to 5.5s with batching. Missing: partial aggregate pushdown, rebalancing tools, HA and distributed atomic commit.

AI-written summary · about

  1. 0:00Start
  2. 1:25Database Sharding
  3. 6:14PostgreSQL Built-In Sharding
  4. 14:33Improvements & Key Features
  5. 28:49Missing Pieces
  6. 33:44References
~/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.