From: Jeremy Buchmann <jeremy@wellsgaming.com>
To: Sébastien HEITZMANN <2le@2le.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Vacuum and deadlock.
Date: Thu, 6 Sep 2001 09:22:29 -0700
Message-ID: <200109061621.JAA08358@mail.greatbasin.net> (raw)
In-Reply-To: <000201c13619$3103f5f0$473e05c0@CALISTO>
On Wednesday, September 5, 2001, at 07:11 AM, Sébastien HEITZMANN wrote:
> Since some week I have some trouble with my database. I use postgres v
> 7.1.2 on redhat 7.0
>
> The trouble is that the database lock when in the night some user left
> an application open ( which do some read on some table) and the night
> process of backup and vacuum happend.
> The database stay in a deadlock until I restart it manually on the
> morning.
Why don't you just kill all the connections before running vacuum?
Jeremy Buchmann [jeremy@wellsgaming.com]
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: jeremy@wellsgaming.com, 2le@2le.net
Subject: Re: Vacuum and deadlock.
In-Reply-To: <200109061621.JAA08358@mail.greatbasin.net>
References: <000201c13619$3103f5f0$473e05c0@CALISTO> <200109061621.JAA08358@mail.greatbasin.net>
* 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