Re: Vacuum and deadlock. - Mailing list pgsql-admin

From Jeremy Buchmann
Subject Re: Vacuum and deadlock.
Date
Msg-id 200109061621.JAA08358@mail.greatbasin.net
Whole thread Raw
In response to Vacuum and deadlock.  (Sébastien HEITZMANN <2le@2le.net>)
List pgsql-admin
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]

pgsql-admin by date:

Previous
From: Dong Calmada
Date:
Subject: 'create view' error
Next
From: Tom Lane
Date:
Subject: Re: Need help or advices : databases and tables invisibles and not accessibles !