pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Restart time
Date: Tue, 05 Dec 2006 14:39:50 -0500
Message-ID: <10203.1165347590@sss.pgh.pa.us> (raw)
In-Reply-To: <a97c77030612051132h3637c9e2p295bdfb94c3767f1@mail.gmail.com>
References: <4575A78F.5040504@inrialpes.fr>
	<8738.1165342609@sss.pgh.pa.us>
	<a97c77030612051132h3637c9e2p295bdfb94c3767f1@mail.gmail.com>

"Rajesh Kumar Mallah" <mallah.rajesh@gmail.com> writes:
> Startup time of a clean shutdown database is constant. But we still
> face problem when it comes to shutting down. PostgreSQL waits
> for clients to finish gracefully. till date i have never been able to
> shutdown
> quickly (web application scenerio) and i tend to do pg_ctl -m immediate stop
> mostly.

RTFM ... you should be using -m fast not -m immediate.  -m immediate
is for emergency situations not routine.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <10203.1165347590@sss.pgh.pa.us>
Permalink:  ../10203.1165347590@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10203.1165347590@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mallah.rajesh@gmail.com
  Subject: Re: Restart time
  In-Reply-To: <10203.1165347590@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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