Re: autovacuum and immediate shutdown issues - Mailing list pgsql-general

From Scott Marlowe
Subject Re: autovacuum and immediate shutdown issues
Date
Msg-id dcc563d10910190953n36d1229fx17a7744a71d6118e@mail.gmail.com
Whole thread Raw
In response to Re: autovacuum and immediate shutdown issues  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: autovacuum and immediate shutdown issues
Re: autovacuum and immediate shutdown issues
List pgsql-general
On Mon, Oct 19, 2009 at 10:44 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Brad Nicholson <bnichols@ca.afilias.info> writes:
>> On Mon, 2009-10-19 at 12:07 -0400, Tom Lane wrote:
>>> That seems like a fundamentally stupid idea, unless you are unconcerned
>>> with the time and cost of getting the DB running again, which seemingly
>>> you are.
>
>> I disagree that this is fundamentally stupid.  We are talking about a
>> situation where the server is about to die, HA solution kicks in and
>> moves it to standby.
>
> Moving it to standby immediately is a good idea, but it does not follow
> that you need to hit the DB over the head with a hammer.  A fast-mode
> shutdown seems perfectly adequate.  If it isn't, you're going to need
> nontrivial recovery effort anyhow.

All of this is completely besides the point that a database that's
been shutdown immediately / had the power cord yanked comes back up
and doesn't start autovacuuming automatically, which seems a
non-optimal behaviour.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: autovacuum and immediate shutdown issues
Next
From: Brad Nicholson
Date:
Subject: Re: autovacuum and immediate shutdown issues