pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Tauno Williams <adamtaunowilliams@gmail.com>
To: postgres performance list <pgsql-performance@postgresql.org>
Subject: Re: How to use a trigger to write rows to a remote server
Date: Wed, 18 Jul 2007 11:43:42 -0400
Message-ID: <1184773422.4263.12.camel@aleph.whitemice.org> (raw)
In-Reply-To: <1184767332.10897.6.camel@coppola.muc.ecircle.de>
References: <e8733d090707180636q45bb5d16vff3e79c2d60d2e83@mail.gmail.com>
	<1184767332.10897.6.camel@coppola.muc.ecircle.de>

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




view thread (8+ messages)  latest in thread

Message-ID: <1184773422.4263.12.camel@aleph.whitemice.org>
Permalink:  ../1184773422.4263.12.camel@aleph.whitemice.org/
Also on:    postgresql.org/message-id/1184773422.4263.12.camel@aleph.whitemice.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: adamtaunowilliams@gmail.com
  Subject: Re: How to use a trigger to write rows to a remote server
  In-Reply-To: <1184773422.4263.12.camel@aleph.whitemice.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox