Re: Autonomous Transaction is back

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Autonomous Transaction is back
Дата
Msg-id CAHyXU0zK2XRimLW15ESU7fozpctvOFB-jB7++B1jhVWGxgCWkQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Autonomous Transaction is back  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Autonomous Transaction is back  (Joel Jacobson <joel@trustly.com>)
Список pgsql-hackers
On Thu, Jul 23, 2015 at 1:49 PM, Josh Berkus <josh@agliodbs.com> wrote:
> Batch Jobs: large data-manipulation tasks which need to be broken up
> into segments, with each segment committing separately.  Example:
> updating 1 million records in batches of 1000.

Autonomous transactions are not a good fit for this case; stored
procedures are a better way to go for any scenario where you don't
want be be in a snapshot (for example, suppose you want to change
isolation level on the fly).

merlin



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: RFC: replace pg_stat_activity.waiting with something more descriptive
Следующее
От: Joe Conway
Дата:
Сообщение: Re: RLS fails to work with UPDATE ... WHERE CURRENT OF