~/talk

NORM_GEN: an alternative to ORM

Talkat PGConf NYC 2022 · 2022-09-22..09-23· [databases]
links:none on file
slides:none on file

NORM-GEN generates PostgreSQL user-defined types and stored functions from an annotated JSON schema, producing bulk transfer objects that convert to JSON on the database side and cut hundreds or thousands of ORM round trips into a few set-oriented calls. Generated functions include select by id, a MongoDB-like generic search and Norm2db for inserts/updates/deletes. Tested in production patterns (examples on GitHub) against very large datasets—hundreds of millions of rows—and claims much lower latency and far fewer queries, while table definitions remain a DBA-controlled concern.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 4:45What is ORM and why developers use it
  3. 8:38Why ORM is inefficient and slow
  4. 13:33Introducing NORM_GEN solution
  5. 22:20Formalizing the contract with JSON Schema
  6. 27:45Generating database functions automatically
  7. 33:51How NORM_GEN differs from ORM
  8. 36:44Call to action and open source contribution
~/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.