Re: freeze cannot be finished - Mailing list pgsql-general

From Tom Lane
Subject Re: freeze cannot be finished
Date
Msg-id 5199.1384357042@sss.pgh.pa.us
Whole thread Raw
In response to freeze cannot be finished  (Миша Тюрин <tmihail@bk.ru>)
Responses Re[2]: [GENERAL] freeze cannot be finished
List pgsql-general
=?UTF-8?B?0JzQuNGI0LAg0KLRjtGA0LjQvQ==?= <tmihail@bk.ru> writes:
> We are experiencing suspicious and very painful case in our top-business-critical database. We have only 7 weeks
beforeemergency stop of the cluster cause wraparound task in autovacuum process can not be finished again and again. 

I'm betting most of the pain comes from this:

> vacuum_cost_delay 40 (autovacuum_vacuum_cost_delay -1)
> vacuum_cost_limit 700

You've set these parameters to values that will make vacuum crawl.
It's not terribly surprising that it's failing to keep up with what
needs to be done.

I'd try setting vacuum_cost_delay to zero again until you're more
or less caught up.  After that you could perhaps adopt a value in
the range of a millisecond or two.  Not 40.

            regards, tom lane


pgsql-general by date:

Previous
From: Миша Тюрин
Date:
Subject: freeze cannot be finished
Next
From: Миша Тюрин
Date:
Subject: Re[2]: [GENERAL] freeze cannot be finished