Re: Yet Another COUNT(*)...WHERE...question - Mailing list pgsql-general

From Rainer Bauer
Subject Re: Yet Another COUNT(*)...WHERE...question
Date
Msg-id k988c3do7eh60mocpmalu5pta5j7s93oh3@4ax.com
Whole thread Raw
In response to Yet Another COUNT(*)...WHERE...question  ("Phoenix Kiula" <phoenix.kiula@gmail.com>)
Responses Re: Yet Another COUNT(*)...WHERE...question  (Decibel! <decibel@decibel.org>)
List pgsql-general
"Scott Marlowe" wrote:

>When I go to amazon.com I only ever get three pages of results.  ever.
> Because they know that returning 190 pages is not that useful, as
>hardly anyone is going to wander through that many pages.
>
>Google, you'll notice says "Results 1 - 10 of about 5,610,000 for
>blacksmith"  i.e. it's guesstimating as well.  no reason for google to
>look at every single row for blacksmith to know that there's about 5.6
>million.

But if you go to eBay, they always give you an accurate count. Even if the no.
of items found is pretty large (example: <http://search.ebay.com/new>).

Rainer

pgsql-general by date:

Previous
From: Decibel!
Date:
Subject: Re: Deadlocks caused by a foreign key constraint
Next
From: Decibel!
Date:
Subject: Re: memory optimization