#15119: MySQL backend generates unnecessary commands
-------------------------------------+-------------------------------------
     Reporter:  lukesneeringer       |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |                  Version:  1.2
    Component:  Database layer       |               Resolution:
  (models, ORM)                      |             Triage Stage:  Accepted
     Severity:  Normal               |      Needs documentation:  0
     Keywords:                       |  Patch needs improvement:  0
    Has patch:  0                    |                    UI/UX:  0
  Needs tests:  0                    |
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by aaugustin):

 * ui_ux:   => 0
 * stage:  Design decision needed => Accepted


Comment:

 Django implements the pattern described in the blog post linked above in
 `DatabaseWrapper._valid_connection()`.

 This check is performed every time Django creates a cursor.

 We could optimize this at some point, but it's a pretty low priority item,
 given the lack of data demonstrating an actual performance hit.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/15119#comment:5>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to