Re: autovacuum and default_transaction_isolation - Mailing list pgsql-hackers

From Tom Lane
Subject Re: autovacuum and default_transaction_isolation
Date
Msg-id 11274.1322611463@sss.pgh.pa.us
Whole thread Raw
In response to autovacuum and default_transaction_isolation  (Dan Ports <drkp@csail.mit.edu>)
Responses Re: autovacuum and default_transaction_isolation
Re: autovacuum and default_transaction_isolation
List pgsql-hackers
Dan Ports <drkp@csail.mit.edu> writes:
> After some investigation, I found that an autovacuum worker was
> starting a transaction at the default isolation level. While using a
> serializable transaction doesn't affect its behavior (because it's not
> using a MVCC snapshot), having a serializable transaction open prevents
> other concurrent serializable transactions and their predicate locks
> from being cleaned up. Since VACUUM on a large table can take a long
> time, this could affect many concurrent transactions.

Hmm.  Shouldn't we make the autovac launcher use READ COMMITTED, too?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Ants Aasma
Date:
Subject: Re: Avoiding repeated snapshot computation
Next
From: Bruce Momjian
Date:
Subject: Re: Patch - Debug builds without optimization