Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 960DC9F938C for ; Tue, 5 Dec 2006 15:32:22 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 71713-01 for ; Tue, 5 Dec 2006 15:32:12 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nz-out-0102.google.com (nz-out-0506.google.com [64.233.162.230]) by postgresql.org (Postfix) with ESMTP id EBD6D9F9386 for ; Tue, 5 Dec 2006 15:32:11 -0400 (AST) Received: by nz-out-0102.google.com with SMTP id i11so2102957nzh for ; Tue, 05 Dec 2006 11:32:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=GCNmpkZJT0rPWIX3sqBncqFxKUgeSbXTHsvhgB39kIr6K1Cw67fxyJ0tg9/amp7JWN5jxdA7yLkyZ8MiyyW6UNKFqXRlkybCSOnHWFY7Yfi/09I/prDg+AUBAWm8evC1aJc6GHaeKq09ljlRTkR6EN7V744gM9VS4ZTAn463L5E= Received: by 10.35.27.1 with SMTP id e1mr18294289pyj.1165347130881; Tue, 05 Dec 2006 11:32:10 -0800 (PST) Received: by 10.35.80.8 with HTTP; Tue, 5 Dec 2006 11:32:10 -0800 (PST) Message-ID: Date: Wed, 6 Dec 2006 01:02:10 +0530 From: "Rajesh Kumar Mallah" To: "Tom Lane" Subject: Re: Restart time Cc: pgsql-performance@postgresql.org In-Reply-To: <8738.1165342609@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7948_10164438.1165347130802" References: <4575A78F.5040504@inrialpes.fr> <8738.1165342609@sss.pgh.pa.us> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/91 X-Sequence-Number: 22147 ------=_Part_7948_10164438.1165347130802 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 12/5/06, Tom Lane wrote: > > Jean Arnaud writes: > > Is there a relation between database size and PostGreSQL restart > duration ? > > No. > > > Does anyone now the behavior of restart time ? > > It depends on how many updates were applied since the last checkpoint > before the crash. > > If you're talking about startup of a cleanly-shut-down database, it > should be pretty much constant time. Dear Sir, 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. regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster > ------=_Part_7948_10164438.1165347130802 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On 12/5/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Jean Arnaud <Jean.Arnaud@inrialpes.fr> writes:
> Is there a relation between database size and PostGreSQL restart duration ?

No.

> Does anyone now the behavior of restart time ?

It depends on how many updates were applied since the last checkpoint
before the crash.

If you're talking about startup of a cleanly-shut-down database, it
should be pretty much constant time.

Dear Sir,

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.
 

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

------=_Part_7948_10164438.1165347130802--