Re: How to use a trigger to write rows to a remote server
В списке pgsql-performance по дате отправления:
| От | Adam Tauno Williams |
|---|---|
| Тема | Re: How to use a trigger to write rows to a remote server |
| Дата | |
| Msg-id | 1184773422.4263.12.camel@aleph.whitemice.org обсуждение |
| Ответ на | Re: How to use a trigger to write rows to a remote server (Csaba Nagy <nagy@ecircle-ag.com>) |
| Список | pgsql-performance |
On Wed, 2007-07-18 at 16:02 +0200, Csaba Nagy wrote: > On Wed, 2007-07-18 at 15:36, Michael Dengler wrote: > > Row X is inserted into TableX in DB1 on server1....TableX trigger > > function fires and contacts DB2 on server2 and inserts the row into > > TableY on server2. > This kind of problem is usually solved more robustly by inserting the > "change" into a local table and let the remote server (or some external If you don't want to build your own push/pull system [actually hard to do well] then use something like xmlBlaster or some other MOM. You get logging, transactions, and other features thrown in. http://www.xmlblaster.org/xmlBlaster/doc/requirements/contrib.replication.html -- Adam Tauno Williams, Network & Systems Administrator Consultant - http://www.whitemiceconsulting.com Developer - http://www.opengroupware.org
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера