> OTOH, do we have any evidence that this is worth bothering with at all?
> I fear that the cases of long-running transactions that are problems
> in the real world wouldn't be helped much --- for instance, pg_dump
> wouldn't change behavior because it uses a serializable transaction.
Well I think this would be the same infrastructure we would need to do the
other discussed improvement to address pg_dump's impact. That would require us
to publish the youngest xmax of the live snapshots. Vacuum could deduce that
that xid cannot possibly see any transactions between the youngest extant xmax
and the oldest in-progress transaction.
In response to
pgsql-patches by date
|Next:||From: Bruce Momjian||Date: 2007-03-24 19:42:35|
|Subject: Re: Improvement of procArray.xmin for VACUUM|
|Previous:||From: Tom Lane||Date: 2007-03-24 15:48:22|
|Subject: Re: Improvement of procArray.xmin for VACUUM |