YoVDO

Big O No - Django ORM Runtime Complexity and How to Avoid It Using LATERAL JOINS

Offered By: PyCon US via YouTube

Tags

PyCon US Courses Web Development Courses Database Optimization Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover how to optimize Django ORM queries and avoid runtime complexity issues in this 16-minute PyCon US talk by Chris Seto. Learn to identify and solve N+1 query problems, which are particularly common in GraphQL and REST APIs with "include" semantics. Explore advanced techniques beyond prefetch_related and select_related, including SQL aggregations and LATERAL JOINs. Gain insights into efficiently retrieving complex data structures, such as blog posts with comments and their authors, without exponential query growth. Access the talk slides and companion GitHub repository to deepen your understanding of Django ORM optimization techniques and discover the mentioned library for implementing these solutions in your projects.

Syllabus

Talk: Chris Seto - Big O No: Django ORM runtime complexity and how to avoid it using LATERAL JOINS


Taught by

PyCon US

Related Courses

Intro to Python for Brand New Programmers
PyCon US via YouTube
Comprehending Comprehensions
PyCon US via YouTube
Data Analysis with SQLite and Python
PyCon US via YouTube
Build a Production Ready GraphQL API Using Python
PyCon US via YouTube
Web Development With A Python-backed Frontend - Featuring HTMX and Tailwind
PyCon US via YouTube