Skip site navigation (1) Skip section navigation (2)

Re: Is there a problem running vacuum in the middle of a transaction?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Doug McNaught <doug(at)wireboard(dot)com>
Cc: Mike Cianflone <mcianflone(at)littlefeet-inc(dot)com>, "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Is there a problem running vacuum in the middle of a transaction?
Date: 2001-09-06 15:13:43
Message-ID: 2126.999789223@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Doug McNaught <doug(at)wireboard(dot)com> writes:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>> Upshot: a client holding an open transaction, plus another client trying
>> to do VACUUM, can clog up the database for everyone else.

> Thanks for the clarification.  But the original poster's problem, that 
> VACUUM caused his transactions to fail, theoretically shouldn't
> happen--right?

It wasn't clear to me that anything was actually failing, as opposed to
just getting blocked for a long time.  Mike?

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Alex AvrietteDate: 2001-09-06 15:43:40
Subject: Re: [GENERAL] DBD::Pg errstr method doesn't return full
Previous:From: Ken HirschDate: 2001-09-06 14:48:52
Subject: Re: Log rotation?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group