Re: [HACKERS] Much Ado About COUNT(*)

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: [HACKERS] Much Ado About COUNT(*)
Дата
Msg-id 1105627731.14493.18.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: [HACKERS] Much Ado About COUNT(*)  (Greg Stark <gsstark@mit.edu>)
Ответы Re: [HACKERS] Much Ado About COUNT(*)
Список pgsql-general
[snip]
> The database could be clever and implement the same kind of sampling vacuum
> does. That picks a random sampling of pages from the table without using an
> index. But there's no way to implement the same kind of behaviour from the
> user-visible features.
... meaning perhaps a new keyword accepted by SELECT, something like
"SAMPLE 1000" ? Which would mean sample records in a 1:1000 ratio ?
Would simplify (and probably speed up a lot) some estimating queries...

Cheers,
Csaba.



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

Предыдущее
От: "Support (DBTools Software)"
Дата:
Сообщение: [ANN] DBManager Professional 3.0.2 Released
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Réf. : [GENERAL] Debugging