~/talk

Advanced Postgres Schema Design (For Scalable Application Development) bySehrope Sarkuni

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

Postgres-specific features replace clever app hacks with concrete guarantees: using the native uuid type shrinks indexes and prevents bad IDs, a date-range column plus an exclusion constraint solves double-booking (hotel rooms) without application locks, and immutable functions like array_sort/array_unique enforce one-dimensional, ordered arrays via check constraints. The talk shows migration patterns that use transactional DDL and database templates for fast local rollback, plus expression indexes and partial indexes to make big tables fast; the examples are implemented and shown to work.

AI-written summary · about

  1. 0:00Introduction to schema design
  2. 4:33Priorities in schema design
  3. 6:00Data types and sizing
  4. 10:31Row and column alignment
  5. 15:07Check constraints
  6. 18:48Advanced array usage
  7. 23:30Migrations and forward flow
  8. 29:13Minimizing locking impact
  9. 33:11Indexing strategies
  10. 37:25Views and functions
  11. 39:57Range types for complex data
  12. 44:44Q&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.