PREPARE TRANSACTION and webapps

Поиск
Список
Период
Сортировка
От Lincoln Yeoh
Тема PREPARE TRANSACTION and webapps
Дата
Msg-id 5.2.1.1.1.20051111010156.01f1e260@localhost
обсуждение исходный текст
Ответы Re: PREPARE TRANSACTION and webapps  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi,

Is it OK to use PREPARE TRANSACTION and COMMIT PREPARED in order to have
transactions that last longer than just a single web request?

Previously it was usually a bad idea to keep database connections alive
just to keep a transaction pending.

Now I'm thinking that we could keep transactions around for as long as the
relevant web _session_ is valid. That will be quite nice for many things.

Would it be easier to support X "prepared transactions" than X database
connections for increasing values of X?

Thanks,

Link.


В списке pgsql-general по дате отправления:

Предыдущее
От: "Carlos Oliva"
Дата:
Сообщение: Re: Performance of autovacuum and full vacuum of database
Следующее
От: Aly Dharshi
Дата:
Сообщение: Re: [ANNOUNCE] PostgreSQL 8.1.0 RPMs are available for