Re: BUG #11264: Auto vacuum wraparound job blocking everything - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #11264: Auto vacuum wraparound job blocking everything
Date
Msg-id 20140829210753.GK7705@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: BUG #11264: Auto vacuum wraparound job blocking everything  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: BUG #11264: Auto vacuum wraparound job blocking everything
List pgsql-bugs
Dinesh Bhandary wrote:
> I think the fix is working. Now I am able to kill copy job while auto
> vacuum job is going on that table.

I hope this killing of autovacuum jobs is not continued operational
practice.  You need whole-table vacuums of all your tables once in a
while.  (Note you can increase the "freeze_table_age" parameters if you
want to be forced to do that less frequently.  See the docs.)

> Since I am setting pg_resetxlog on the primary, do I need to do that on
> the slave too? Please let me know

No, the slave should fix itself once the checkpoint record is replayed.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #11264: Auto vacuum wraparound job blocking everything
Next
From: Dinesh Bhandary
Date:
Subject: Re: BUG #11264: Auto vacuum wraparound job blocking everything