Re: Numerous prepared transactions?

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Numerous prepared transactions?
Date: 2012-01-25 12:01:10
Message-ID: jfoqu6$vqm$4@reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2012-01-20, Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jasen Betts 2012-01-25 12:12:39 Re: How to make a non-removable row in a table?
Previous Message Jason Armstrong 2012-01-25 11:54:19 Index on parent/child hierarchy