Re: pg_upgrade 8.3 to 9.0, shutdown is to slow

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Bernhard Schrader <bernhard(dot)schrader(at)innogames(dot)de>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_upgrade 8.3 to 9.0, shutdown is to slow
Date: 2011-01-27 17:09:41
Message-ID: 201101271709.p0RH9f421528@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Scott Marlowe wrote:
> > My initial reaction is that something is wrong with your system, either
> > the I/O or the way it is being shutdown by the script. ?I would start to
> > look in the script and do some pg_ctl tests starting/stopping the
> > server.
>
> It could be that his application or whatever is making connections
> while he's trying to do this. An open connection that's actually
> doing something will stop a normal shutdown.
>
> Is there a reason the pg upgrade script does not use -m fast?

Uh, well, I assume that the person has already shut down all db
connections, and opened it only for super-users. If the system is not
shutting down, that should signal to the user that they have not locked
down the system properly. We would not want someone to connect during
pg_upgrade processing, and doing -m fast is not going to help with that.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2011-01-27 17:25:15 Re: asm/ia64regs.h not found on FreeBSD 8.1 IA64
Previous Message Frank Brendel 2011-01-27 17:03:11 asm/ia64regs.h not found on FreeBSD 8.1 IA64