Re: organizing cron jobs in one function

Поиск
Список
Период
Сортировка
От Jasen Betts
Тема Re: organizing cron jobs in one function
Дата
Msg-id k89bcq$3ij$1@reversiblemaps.ath.cx
обсуждение исходный текст
Ответ на organizing cron jobs in one function  (Louis-David Mitterrand <vindex+lists-pgsql-sql@apartia.org>)
Список pgsql-sql
On 2012-11-17, Louis-David Mitterrand <vindex+lists-pgsql-sql@apartia.org> wrote:
> Hi,
>
> I'm planning to centralize all db maintenance jobs from a single
> pl/pgsql function called by cron every 15 minutes (highest frequency
> required by a list of jobs). In pseudo code:

centralising execution of cron jobs into a single function is a recipe for
locking problems, if your jobs are not of the type that acquire
exclusive locks on tables, it might work for you.
.



-- 
⚂⚃ 100% natural




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

Предыдущее
От: Louis-David Mitterrand
Дата:
Сообщение: Re: organizing cron jobs in one function
Следующее
От: Marcin Krawczyk
Дата:
Сообщение: regexp_replace behavior