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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: VACUUM and open transactions



Joseph S wrote:
> I realize this thread is old, but I just conducted an experiment with pg 
> 8.0.10 and a transaction with a SERIALIZABLE isolation level does 
> prevent VACUUM from reclaiming rows that were created and then obsoleted 
>  in a subsequent transaction.

Right.  This is expected.  VACUUM cannot remove them because the
serializable transaction might still want to see those rows.  (I am
assuming the serializable transaction is still running when the vacuum
starts.  If that's not the case, please explain better).

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group