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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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