Changes between Initial Version and Version 1 of Ticket #25230


Ignore:
Timestamp:
Aug 5, 2015, 6:51:25 PM (9 years ago)
Author:
dexity
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25230 – Description

    initial v1  
    1 https://code.djangoproject.com/ticket/23875
    21Recent pull merge https://github.com/django/django/commit/c7fd9b242d2d63406f1de6cc3204e35aaa025233?diff=unified generates SQL which causes severe performance hit when using distinct parameter.
    32Instead of getting something like:
     
    65it generates SQL query which looks:
    76{{{SELECT COUNT('*') FROM (SELECT DISTINCT * FROM some_model) subquery;}}}
     7
     8Related ticket: https://code.djangoproject.com/ticket/23875
Back to Top