Re: pg_upgrade 8.3 to 9.0, shutdown is to slow

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Bernhard Schrader" <bernhard(dot)schrader(at)innogames(dot)de>
Cc: "Bruce Momjian" <bruce(at)momjian(dot)us>,<pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_upgrade 8.3 to 9.0, shutdown is to slow
Date: 2011-01-27 15:18:11
Message-ID: 4D4138530200002500039E7E@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Bernhard Schrader <bernhard(dot)schrader(at)innogames(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Bernhard Schrader 2011-01-27 15:44:29 Re: pg_upgrade 8.3 to 9.0, shutdown is to slow
Previous Message Bernhard Schrader 2011-01-27 08:17:32 Re: pg_upgrade 8.3 to 9.0, shutdown is to slow