Django Queryset Batch Processing

Process large Django querysets and write-heavy jobs with memory-safe reads, values/values_list, iterator chunking, set-based update/delete, bulk_create, bulk_update, F expressions, Func expressions, and batch sizing. Use when a Django command, task, migration, report, or loop reads or writes many rows and is slow, memory-heavy, or query-heavy.

thedixitjain 97c4dbf 2 files · 4.5 KB Updated 2 repo stars

File contents

thedixitjain/the-mega-skill-library/tree/main/library/rag-memory-knowledge/django-queryset-batch-processing commit 97c4dbf437

Frequently asked questions

npx skillmds add thedixitjain/django-queryset-batch-processing