~/talk

How to Store JSON in a Database Without Attracting the DBA's Attention

TalkinRussianat Joker 2022 · 2022-11-08..11-19· [databases, api-design]
links:none on file
links:none on file
slides:none on file

The talk examines storing JSON in relational databases, focusing on PostgreSQL and tools like Hibernate, Spring Data and JPA. It explains problems that motivate using JSON (flexible attributes, inheritance mapping), shows how to solve them while staying within a relational schema, discusses when JSON is appropriate, and warns about practical pitfalls and why many DBA/analytics/QA concerns are now less relevant.

AI-written summary · about

  1. 0:00Introduction
  2. 2:27Why DBA shouldn't know
  3. 3:54Relational DBs and JSON
  4. 6:23JSON in events
  5. 8:29MongoDB vs PostgreSQL
  6. 10:11Table inheritance and JSON
  7. 13:45Arbitrary attributes and JSON
  8. 17:14Searching JSON attributes
  9. 20:45N+1 and Lazy loading
  10. 25:26Row size limits
  11. 27:54Large JSON in PostgreSQL
  12. 30:03Hibernate issues solved
  13. 33:20Hibernate 6 JSON support
  14. 35:05JSON indexing in PostgreSQL
  15. 37:34JSON queries with Hibernate
  16. 38:58Summary and tips
  17. 40:02Q&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.