~/talk

Django ORM: The MTI vs STI Showdown

TalkinRussianat PiterPy 2019 · 2019-11-01..11-02· [django, databases]
github:Bahus
slides:none on file

Compares multi-table inheritance (MTI) and single-table inheritance (STI) patterns implemented with Django ORM on PostgreSQL, explaining when to choose each approach and trade-offs. Covers working with JSONB fields in STI (schema maintenance and efficient manipulation), using Django managers to simplify code and hide inheritance details, and mentions third-party libraries that can improve the results.

AI-written summary · about

  1. 0:00Introduction
  2. 4:21PostgreSQL inheritance
  3. 10:33Django ORM inheritance
  4. 13:27Abstract base classes
  5. 16:43Multi-table inheritance
  6. 23:52Single-table inheritance
  7. 28:29JSON issues and solutions
  8. 33:02Approach comparison and choice
  9. 37:51Q&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.