Re: Numerous prepared transactions? - Mailing list pgsql-general

From Jasen Betts
Subject Re: Numerous prepared transactions?
Date
Msg-id jfoqu6$vqm$4@reversiblemaps.ath.cx
Whole thread Raw
In response to Exclusive row locks not release  (Mark van Leeuwen <markvl@internode.on.net>)
List pgsql-general
On 2012-01-20, Lincoln Yeoh <lyeoh@pop.jaring.my> wrote:
> Hi,
>
> Is it viable to have very many prepared transactions? As in tens of
> thousands or even more?
>
> The idea is so that a web application can do _persistent_
> transactional stuff over multiple pages/accesses/sessions and have it
> rolled back easily, or committed if desired. I'm thinking that it
> might be better to do this instead of reinventing transactions at the
> application layer.

why not uses "session" like everyone else does,
don't load the database down with managing website logic.

> Would it be better to have separate postgresql databases for this?
> One for the persistent transactions stuff, and one for "normal"
> stuff, which will manage the persistent transactions.

what isolation level do you need for your "persistant transactions"?

--
⚂⚃ 100% natural

pgsql-general by date:

Previous
From: Jasen Betts
Date:
Subject: Re: Duplicated entries are not ignored even if a "do instead nothing" rule is added.
Next
From: Simon Riggs
Date:
Subject: Re: Hot standby off of hot standby?