Re: autovacuum and immediate shutdown issues

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brad Nicholson <bnichols(at)ca(dot)afilias(dot)info>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: autovacuum and immediate shutdown issues
Date: 2009-10-19 16:44:15
Message-ID: 7211.1255970655@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Brad Nicholson <bnichols(at)ca(dot)afilias(dot)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.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-10-19 16:53:05 Re: autovacuum and immediate shutdown issues
Previous Message Brad Nicholson 2009-10-19 16:30:46 Re: autovacuum and immediate shutdown issues