Re: [HACKERS] Slow count(*) again...

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: [HACKERS] Slow count(*) again...
Дата
Msg-id AANLkTi=s7yBPnZEbO6GAk_tUeRH_bZL=fi3NsfKxPKFf@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Slow count(*) again...  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-performance
On Thu, Feb 3, 2011 at 7:05 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> If you want to randomly pick 10,000 rows out of all the rows that are
> going to be inserted in the table without knowing in advance how many
> there will be, how do you do that?

Maybe you could instead just have it use some % of the rows going by?
Just a guess.

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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: [HACKERS] Slow count(*) again...
Следующее
От: Andy Colson
Дата:
Сообщение: Re: getting the most of out multi-core systems for repeated complex SELECT statements