I've seen many posts about how slow PostgreSQL is when doing count(*) and how this gets called in the admin all the time, so I thought I'd share a simple paginator class override to use the RELTUPLES statistic when the query is not filtered. This should speed up the loading of the default admin page for a large table!
http://djangosnippets.org/snippets/2593/ Alec -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.