PiterPy 2019 / Oleg Churkin: Django ORM: a fight between MTI and STI / Saint Petersburg, Russia / 1 November 2019

Oleg Churkin: Django ORM: a fight between MTI and STI

Description

Django ORM: a fight between MTI and STI

We use hierarchical data structures in our applications pretty often and the most common question is how to effectively store such data in relation databases.
I'm going to shed some light on this topic and discuss most popular approaches: Multi-Table Inheritance and Single Table Inheritance.
We also will discuss the following points:

  1. How PostgreSQL support table inheritance out of the box.
  2. Comparison between MTI and STI: what is better to use. How can Django ORM and Managers help?
  3. Which Python packages can make MTI/STI approaches easier to implement and maintain.
  4. How JSONb can improve STI-based approach.

 

Oleg Churkin
Moscow, Russia
Development Lead
QIWI

I’ve been developing with Python over 10 years and now I’m engineering manager at well-known Russian Payment System Provider QIWI.
Previously, I’ve worked as technical lead in statusmoney.com fintech project, developer in Yandex, head of Python developers in Ramber&Co and many other well-known Russian IT companies like Kaspersky Lab and Acronis.
Contacts:
https://fb.me/bahusoff
https://github.com/Bahus

Share
Add to calendar
Organizer
Coorganizer
Wargaming - silver sponsor
DELL TECHNOLOGIES - silver sponsor
CINDICATOR - silver sponsor
Selectel - silver sponsor
EPAM - silver sponsor
Partners
TRAVEL SPONSORS
Hashtag
#PiterPy
Event in socials
Contacts
Irina Saribekova
+7 (921) 903-45-17
irina@it-events.com

Congratulations!

You've successfully subscribed for news.