Re: [PATCHES] Approximate count(*)

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: [PATCHES] Approximate count(*)
Дата
Msg-id 20050324175827.GC15848@fetter.org
обсуждение исходный текст
Ответ на Re: Approximate count(*)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCHES] Approximate count(*)  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список pgsql-docs
On Thu, Mar 24, 2005 at 12:34:51PM -0500, Tom Lane wrote:
> 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.

Should there be more caveats?

Cheers,
D
--
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!

В списке pgsql-docs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Approximate count(*)
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: [PATCHES] Approximate count(*)