Big O No - Django ORM Runtime Complexity and How to Avoid It Using LATERAL JOINS
Offered By: PyCon US via YouTube
Course Description
Overview
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
Software as a ServiceUniversity of California, Berkeley via Coursera Intro to Computer Science
University of Virginia via Udacity Web Development
Udacity Software Engineering for SaaS
University of California, Berkeley via Coursera CS50's Introduction to Computer Science
Harvard University via edX