~/talk

Leveraging PostgreSQL 17's JSONB for Enhanced Data Modeling

Talkat Incontro DevOps Italia 2025 · on Friday, 2025-03-14· [databases]
slides:none on file

PostgreSQL 17 adds concrete JSONB features: JSONB binary storage lets reads avoid per-row JSON parsing (example dataset: five million rows generated with a Python faker), yielding a full-table key lookup in ~0.5s versus ~2.88s for JSON and ~1s for plain text. Indexing with a GIN index and pending list drops some queries to sub-millisecond but worsens writes — updates run ~1.1s without index, ~9ms with the GIN index, ~77ms if fastupdate is disabled. NewJSON_TABLE lateral join and JSON path operators materialize nested arrays into columns and work in milliseconds.

AI-written summary · about

  1. 0:00Introduction
  2. 2:37JSON in PostgreSQL history
  3. 5:54JSON vs JSONB storage
  4. 9:27Benchmarking JSONB
  5. 13:46GIN indexes for JSONB
  6. 17:21JSON path queries
  7. 20:31JSON table for virtual tables
  8. 22:40PostgreSQL vs MongoDB
  9. 27:02Why PostgreSQL for JSON
  10. 29:12Considerations and limitations
  11. 29:53PG Day Napoli 2025
  12. 30:36Q&A
~/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.