#8408: add a new meta option: don't do count(*) in admin
-------------------------------+------------------------------------
     Reporter:  lidaobing      |                    Owner:  nobody
         Type:  New feature    |                   Status:  reopened
    Component:  contrib.admin  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  1
  Needs tests:  1              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------

Comment (by bb@…):

 +1 because I ran into this problem today.

 Using PostgreSQL and django 1.4 with a table that contains about 15
 million rows. executing "select count(*) from mytable" in the psql console
 takes about 40 seconds, even with an index on the primary key. This leads
 to timeouts and huge lag.

 I'm going to try MySQL to see if this is any better.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/8408#comment:31>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to