#27442: count estimation on querysets
-------------------------------------+-------------------------------------
               Reporter:  Denis      |          Owner:  Denis Cornehl
  Cornehl                            |
                   Type:  New        |         Status:  assigned
  feature                            |
              Component:  Database   |        Version:  1.10
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 on bigger tables a normal ``count()`` gets slow quickly, though quite
 often we only need a rough estimation (for pagination for example, see
 #26451 ).

 I want to add a new ``estimate_count`` method on QuerySets to allow users
 to access this count estimation.

 For Postgres and other databases this is possible by using the query
 planner statistics to do this estimation.

--
Ticket URL: <https://code.djangoproject.com/ticket/27442>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.b899b3ffb6f440703ee1819284872e49%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to