Re: XID wraparound and busy databases - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: XID wraparound and busy databases
Date
Msg-id 1187268245.4460.7.camel@ebony.site
Whole thread Raw
In response to Re: XID wraparound and busy databases  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, 2007-08-15 at 12:49 -0400, Tom Lane wrote:
> Heikki Linnakangas <heikki@enterprisedb.com> writes:
> > Maybe we can do something to reduce the xid consumption? For example,
> > reuse xids for read-only queries.
> 
> Hmm, that's an idea.

That would be a very useful idea for additional scalability and it does
sound like a good idea.

We kicked around the idea of reusing snapshots previously also, as a way
of reducing access to the ProcArray. That idea had some problems, but if
your workload was all read-only and we reused xids then everybody would
have an identical snapshot, so reusing it would make lots of sense.

--  Simon Riggs EnterpriseDB  http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: build farm failures
Next
From: Tom Lane
Date:
Subject: Re: tsearch2 in PostgreSQL 8.3?