#36143: DatabaseOperations.bulk_batch_size() is overly protective on SQLite in 
most
cases
-------------------------------------+-------------------------------------
     Reporter:  Sarah Boyce          |                    Owner:  (none)
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  5.1
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

 * stage:  Unreviewed => Accepted

Comment:

 Sage showed a
 [https://github.com/django/django/pull/19088#discussion_r1926816566 query]
 to get the most accurate limit based on compilation flags. Some discussion
 needed about whether and how to do that (e.g. `@cached_property`? What
 about people asserting a query count in tests?)
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36143#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070194a8313f09-501bb772-db11-433e-a12f-b22c237bc680-000000%40eu-central-1.amazonses.com.

Reply via email to