Re: Approximate count(*) - Mailing list pgsql-docs

From Tom Lane
Subject Re: Approximate count(*)
Date
Msg-id 27948.1111685691@sss.pgh.pa.us
Whole thread Raw
In response to Approximate count(*)  (David Fetter <david@fetter.org>)
Responses Re: [PATCHES] Approximate count(*)
List pgsql-docs
David Fetter <david@fetter.org> writes:
> Please find enclosed a patch that shows how to get a quick
> approximation of count(*) on a table.

I'm not sure we should be encouraging people to look at reltuples...
for one thing, it's deliberately a moving average under 8.0.

            regards, tom lane

pgsql-docs by date:

Previous
From: David Fetter
Date:
Subject: Approximate count(*)
Next
From: David Fetter
Date:
Subject: Re: [PATCHES] Approximate count(*)