Re: Postgresql 9.3 not coming up after restart in centos - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Postgresql 9.3 not coming up after restart in centos
Date
Msg-id CAOR=d=3UG4-Y7i1eDAA8O5VY4B-uRiVioKzfGiYn=86NfK1_-g@mail.gmail.com
Whole thread Raw
In response to Re: Postgresql 9.3 not coming up after restart in centos  ("balajishanmugam@live.in" <balajishanmugam@live.in>)
Responses Re: Postgresql 9.3 not coming up after restart in centos  ("balajishanmugam@live.in" <balajishanmugam@live.in>)
List pgsql-general
On Wed, Jan 6, 2016 at 2:08 PM, balajishanmugam@live.in
<balajishanmugam@live.in> wrote:
> Most of the time I will be restarting centOS by issuing reboot command. Which
> will do the orderly shutdown of all the service and sometimes just pull the
> plug.
>
> But the issue appears to be random. Is there a way that before Postgres
> starts we can check whether data is flushed, if not flush it manually or any
> other better way to avoid this issue.

As Adrian mentioned, by the time you go for a startup of pgsql, the
damage is already done during the previous shut down.

The real issue here is that a properly operating server should be able
to have the power plug pulled, and on boot up postgres should be able
to come back up. When pgsql can't come back up, it's usually due to an
unreliable storage subsystem. So what are you using for storage?


pgsql-general by date:

Previous
From: Ted Toth
Date:
Subject: Re: 9.5rc1 RLS select policy on insert?
Next
From: "Igal @ Lucee.org"
Date:
Subject: pg_upgrade on Windows