Made a PR during the #DjangoConEurope sprints that could significantly improve the performance of bulk queries on SQLite ๐ฅณ
For example, given a `bulk_create()` with 10,000 instances of a model that has 25 fields, the number of queries could go down from 251 to 1.
On Debian in general, queries that originally would take N*250 batches can now be done in ~N batches.
This was a ticket that one of the Djangonauts in my team worked on, then I added the tests at the sprints ๐
GitHub
Fixed #36143 -- Made max_query_params respect SQLITE_LIMIT_VARIABLE_NUMBER. by laymonage ยท Pull Request #19427 ยท django/django
Trac ticket number
ticket-36143. @thepsalmist and I worked on this during the Djangonaut Space program, and I added the tests during the DjangoCon...