pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Immediate Shutdowns
2+ messages / 2 participants
[nested] [flat]

* Immediate Shutdowns
@ 2017-06-07 02:56  Harold Falkmeyer <hfalkmeyer@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Harold Falkmeyer @ 2017-06-07 02:56 UTC (permalink / raw)
  To: pgsql-admin

Greetings,

Are there long-term detriments from executing an immediate shutdown and/or
issuing SIGQUITs to either the parent or any child postmaster?  I'm aware
that PostgreSQL, upon next start, performs a WAL replay and performs other
crash recovery steps.  Are there certain operations, such as VACUUM
ANALYZEs, CREATE INDEXs, INSERTs, UPDATEs, and/or DELETEs, for example,
that are less easily recovered or less recoverable than other operations?

What might cause an operation, such as a VACUUM ANALYZE, not to exit upon
receiving a SIGTERM.  Are there any circumstances when a SIGQUIT could fail
to cause an imminent exit (other than a process in an fundamentally
unreceptive state, such as an uninterruptible sleep).

Thank you in advance,

Harold Falkmeyer

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Immediate Shutdowns
@ 2017-06-07 03:25  Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  parent: Harold Falkmeyer <hfalkmeyer@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2017-06-07 03:25 UTC (permalink / raw)
  To: Harold Falkmeyer <hfalkmeyer@gmail.com>; pgsql-admin

On 6/6/17 22:56, Harold Falkmeyer wrote:
> Are there long-term detriments from executing an immediate shutdown
> and/or issuing SIGQUITs to either the parent or any child postmaster? 

There shouldn't be any.

> What might cause an operation, such as a VACUUM ANALYZE, not to exit
> upon receiving a SIGTERM.  Are there any circumstances when a SIGQUIT
> could fail to cause an imminent exit (other than a process in an
> fundamentally unreceptive state, such as an uninterruptible sleep).

You write in another thread that you are using 8.4.  That could
certainly have more issues/bugs in this area, if you're not seeing the
behavior you want.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-06-07 03:25 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-06-07 02:56 Immediate Shutdowns Harold Falkmeyer <hfalkmeyer@gmail.com>
2017-06-07 03:25 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox