Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id BAB279F938C for ; Tue, 5 Dec 2006 15:39:59 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 24595-07 for ; Tue, 5 Dec 2006 15:39:54 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 265449FB2A2 for ; Tue, 5 Dec 2006 15:39:54 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id kB5JdoSE010204; Tue, 5 Dec 2006 14:39:50 -0500 (EST) To: "Rajesh Kumar Mallah" cc: pgsql-performance@postgresql.org Subject: Re: Restart time In-reply-to: References: <4575A78F.5040504@inrialpes.fr> <8738.1165342609@sss.pgh.pa.us> Comments: In-reply-to "Rajesh Kumar Mallah" message dated "Wed, 06 Dec 2006 01:02:10 +0530" Date: Tue, 05 Dec 2006 14:39:50 -0500 Message-ID: <10203.1165347590@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/92 X-Sequence-Number: 22148 "Rajesh Kumar Mallah" 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