From: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Restart time
Date: Wed, 6 Dec 2006 01:02:10 +0530
Message-ID: <a97c77030612051132h3637c9e2p295bdfb94c3767f1@mail.gmail.com> (raw)
In-Reply-To: <8738.1165342609@sss.pgh.pa.us>
References: <4575A78F.5040504@inrialpes.fr>
<8738.1165342609@sss.pgh.pa.us>
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
>
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: mallah.rajesh@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: Restart time
In-Reply-To: <a97c77030612051132h3637c9e2p295bdfb94c3767f1@mail.gmail.com>
References: <4575A78F.5040504@inrialpes.fr> <8738.1165342609@sss.pgh.pa.us> <a97c77030612051132h3637c9e2p295bdfb94c3767f1@mail.gmail.com>
* 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