Re: Replication Syatem - Mailing list pgsql-performance

From Greg Smith
Subject Re: Replication Syatem
Date
Msg-id Pine.GSO.4.64.0804290104570.2503@westnet.com
Whole thread Raw
In response to Re: Replication Syatem  ("Gauri Kanekar" <meetgaurikanekar@gmail.com>)
Responses Re: Replication Syatem
List pgsql-performance
On Tue, 29 Apr 2008, Gauri Kanekar wrote:

> Basically we have some background process which updates "table1" and we
> don't want the application to make any changes to "table1" while vacuum.
> Vacuum requires exclusive lock on "table1" and if any of the background or
> application is ON vacuum don't kick off.

VACUUM FULL needs an exclusive lock, the regular one does not in 8.1.
It's one of the reasons FULL should be avoided.  If you do regular VACUUM
frequently enough, you shouldn't ever need to do a FULL one anyway.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD

pgsql-performance by date:

Previous
From: "Gauri Kanekar"
Date:
Subject: Re: Replication Syatem
Next
From: "Gauri Kanekar"
Date:
Subject: Re: Replication Syatem