Re: Numerous prepared transactions?

Поиск
Список
Период
Сортировка
Искать
От
Jasen Betts
Тема
Re: Numerous prepared transactions?
Дата
Msg-id
jfoqu6$vqm$4@reversiblemaps.ath.cx
Список
Дерево обсуждения
Re: Numerous prepared transactions? Jasen Betts <jasen@xnet.co.nz>
On 2012-01-20, Lincoln Yeoh  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 по дате отправления
От: Jasen Betts
Дата:
От: Simon Riggs
Дата:
FAQ