pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Bernhard Schrader <bernhard.schrader@innogames.de>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_upgrade 8.3 to 9.0, shutdown is to slow
Date: Thu, 27 Jan 2011 09:18:11 -0600
Message-ID: <4D4138530200002500039E7E@gw.wicourts.gov> (raw)
In-Reply-To: <1296116252.2220.6.camel@schrader-laptop>
References: <201101270241.p0R2f4B25076@momjian.us>
	<1296116252.2220.6.camel@schrader-laptop>

Bernhard Schrader <bernhard.schrader@innogames.de> wrote:
 
> what maybe is also interesting, if i start the database manually i
> have a huge waiting IO of 23% for a time of maybe 2-5 minutes, i
> think it is because of the fragmentation of the tables. 
> 
> is the shutdown so slow because of the waiting io? but why can i
> stop it as user root without problems...
 
How do you "stop it as user root", exactly?  If you kill PostgreSQL
too abruptly, the recovery could easily run for several minutes with
a lot of I/O while it recovers.
 
Taking pg_upgrade out of the picture for a minute -- how long do
shutdowns and startups normally take you?
 
-Kevin



view thread (11+ messages)  latest in thread

Message-ID: <4D4138530200002500039E7E@gw.wicourts.gov>
Permalink:  ../4D4138530200002500039E7E@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4D4138530200002500039E7E@gw.wicourts.gov

 · 

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 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-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, bernhard.schrader@innogames.de, bruce@momjian.us
  Subject: Re: pg_upgrade 8.3 to 9.0, shutdown is to slow
  In-Reply-To: <4D4138530200002500039E7E@gw.wicourts.gov>
  References: <201101270241.p0R2f4B25076@momjian.us> <1296116252.2220.6.camel@schrader-laptop> <4D4138530200002500039E7E@gw.wicourts.gov>

* 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