Re: Database transaction related

Поиск
Список
Период
Сортировка
От John D. Burger
Тема Re: Database transaction related
Дата
Msg-id 6C759BC6-9078-40FE-8D58-30B9B5751E8C@mitre.org
обсуждение исходный текст
Ответ на Re: Database transaction related  ("Jasbinder Singh Bali" <jsbali@gmail.com>)
Ответы Re: Database transaction related  ("Harpreet Dhaliwal" <harpreet.dhaliwal01@gmail.com>)
Список pgsql-general
Jasbinder Singh Bali wrote:

> could you please elaborate this concept of queue table?

The basic idea is to for the insert trigger to not explicitly kick
off the work you need to have done, but simply insert a row into a
"work request table".  A separate process notices that there is a
work request, and performs the work.  This can be done by a periodic
cron job, or using NOTIFY/LISTEN.

There was a fairly detailed discussion of this last month - the
thread starts here:

   http://archives.postgresql.org/pgsql-general/2007-04/msg01152.php

- John D. Burger
   MITRE



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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: tsearch2 problem
Следующее
От: "John D. Burger"
Дата:
Сообщение: Re: Streaming large data into postgres [WORM like applications]