Re: Some queries starting to hang

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Some queries starting to hang
Дата
Msg-id 20060606150326.GC53487@pervasive.com
обсуждение исходный текст
Ответ на Re: Some queries starting to hang  (Chris Beecroft <CBeecroft@PrO-Unlimited.com>)
Список pgsql-performance
On Mon, Jun 05, 2006 at 01:39:38PM -0700, Chris Beecroft wrote:
> Thanks Tom,
>
> I knew you would come through again!
>
> Query is now returning with results on our replicated database.  Will
> vacuum analyze production now.  So it seems to have done the trick.  Now
> the question is has our auto vacuum failed or was not set up properly...
> A question for my IT people.

You should almost certainly be running the autovacuum that's built in
now. If you enable vacuum_cost_delay you should be able to make it so
that vacuum's impact on production is minimal. The other thing you'll
want to do is cut all the vacuum threshold and scale settings in half
(the defaults are very conservative).
--
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 по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Some queries starting to hang
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Some queries starting to hang