Re: Avoid long-running transactions in a long-running stored procedure?

Поиск
Список
Период
Сортировка
От Ow Mun Heng
Тема Re: Avoid long-running transactions in a long-running stored procedure?
Дата
Msg-id 1203039038.16694.39.camel@neuromancer.home.net
обсуждение исходный текст
Ответ на Re: Avoid long-running transactions in a long-running stored procedure?  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Avoid long-running transactions in a long-runningstored procedure?  ("David Crane" <davidc@donorschoose.org>)
Список pgsql-performance
On Thu, 2008-02-14 at 17:29 -0800, Josh Berkus wrote:
> David,
>
> > Once per quarter, we need to load a lot of data, which causes many
> > updates across the database.  We have an online transaction
> > processing-style application, which we really want to stay up during the
> > update job.
> However, you can write your stored procedures in an external language (like
> PL/Perl, PL/Ruby, PL/Java or PL/Python) and re-connect to your database in
> order to run several separate transactions.  Several users are doing this
> for large ETL jobs.
>

I actually do it externally via a perl script even, and I'm breaking the
data down to even more than miniscule size.

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Avoid long-running transactions in a long-running stored procedure?
Следующее
От: "David Crane"
Дата:
Сообщение: Re: Avoid long-running transactions in a long-runningstored procedure?