Re: vacuum, dead rows, usual solutions didn't help - Mailing list pgsql-general

From Simon Riggs
Subject Re: vacuum, dead rows, usual solutions didn't help
Date
Msg-id 1199958694.4266.652.camel@ebony.site
Whole thread Raw
In response to Re: vacuum, dead rows, usual solutions didn't help  (Gábor Farkas <gabor@nekomancer.net>)
Responses Re: vacuum, dead rows, usual solutions didn't help  (Gábor Farkas <gabor@nekomancer.net>)
List pgsql-general
On Thu, 2008-01-10 at 07:52 +0100, Gábor Farkas wrote:

> the remaining 3 were only idle-in-transaction at that point. so if i
> would keep checking for idle-in-transaction processes, the list of them
> would keep changing.
>
> are you saying, that a process should NEVER be idle-in-transaction? not
> even for a short time? (like some seconds?)

It's OK to be idle-in-transaction, but not OK for that state to last for
days.

> also, even if it is wrong, can an 'idle-in-transaction' connection that
> was opened today block the vacuuming of rows that were deleted yesterday?

Yes, if the rows were deleted after the connection started.

--
  Simon Riggs
  2ndQuadrant  http://www.2ndQuadrant.com


pgsql-general by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: Increase the number of concurrent connection
Next
From: Gábor Farkas
Date:
Subject: Re: vacuum, dead rows, usual solutions didn't help