Re: count(*) performance

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: count(*) performance
Дата
Msg-id 20060328172634.GM75181@pervasive.com
обсуждение исходный текст
Ответ на Re: count(*) performance  (Brendan Duddridge <brendan@clickspace.com>)
Список pgsql-performance
On Mon, Mar 27, 2006 at 12:20:54PM -0700, Brendan Duddridge wrote:
> Does that mean that even though autovacuum is turned on, you still
> should do a regular vacuum analyze periodically?

Doing a periodic vacuumdb -avz and keeping an eye on the last few lines
isn't a bad idea. It would also be helpful if there was a log parser
that could take a look at the output of a vacuumdb -av and look for any
problem areas, such as relations that have a lot of free space in them.
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

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

Предыдущее
От: "Dave Dutcher"
Дата:
Сообщение: Re: simple join uses indexes, very slow
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: simple join uses indexes, very slow