Re: Deriving Recovery Snapshots - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: Deriving Recovery Snapshots
Date
Msg-id 1224670736.8473.3.camel@huvostro
Whole thread Raw
In response to Re: Deriving Recovery Snapshots  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Deriving Recovery Snapshots
List pgsql-hackers
On Thu, 2008-10-16 at 18:52 +0300, Heikki Linnakangas wrote:
>
> Also, I can't help thinking that this would be a lot simpler if we just 
> treated all subtransactions the same as top-level transactions. The only 
> problem with that is that there can be a lot of subtransactions, which 
> means that we'd need a large UnobservedXids array to handle the worst 
> case, but maybe it would still be acceptable?

I remember cases on this list where long transactions did run out of
subtransaction ids. To accommodate something approacing that we need an
array for storing (max_connections * 4G ) UnobservedXids instead of just
max_connections.

-----------------
Hannu



pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Withdraw PL/Proxy from commitfest
Next
From: Martin Pihlak
Date:
Subject: Re: Withdraw PL/Proxy from commitfest