Re: fighting ' in transaction' - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: fighting ' in transaction'
Date
Msg-id 20091105175752.GJ3694@alvh.no-ip.org
Whole thread Raw
In response to Re: fighting ' in transaction'  (Scott Marlowe <scott.marlowe@gmail.com>)
Responses Re: fighting ' in transaction'  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-admin
Scott Marlowe escribió:

> The real issue with idle in transaction isn't locking so much.  A
> simple idle in transaction that just ran a select * from table limit
> 1; will have made it so that vacuum cannot reclaim space that it
> normally could until that transaction is committed or rolled back.

That's not a problem in 8.4 either, because when the select finishes the
snapshot is deleted and vacuum knows that it can remove those tuples.
That's what we have the new snapshot management module for.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-admin by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: fighting ' in transaction'
Next
From: Scott Marlowe
Date:
Subject: Re: fighting ' in transaction'