pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter <peterh@600ml.com.au>
To: pgsql-php@postgresql.org
To: pgsql-sql@postgresql.org
Subject: Database Replicatio via triggers
Date: Fri, 30 Nov 2001 08:47:35 +1100
Message-ID: <003e01c1791f$75210590$0300000a@600mlPeterPC1> (raw)
References: <B5CDCF382265D311BF33009027A8FE9401E6F3BC@pmrmsg.edsn.com>
	<5.0.2.1.0.20010418223233.00a68170@mail.e-magine.com.au>
	<20010418073430.B12408@cc.usu.edu>
	<20010418164436.A41431@ilse.nl>
	<20010418085424.A13383@cc.usu.edu>
	<20010418173727.A5021@rakete.joerdens.de>
	<20010418202814.B16143@ilse.nl>
	<20011119083547.A22031@cc.usu.edu>

Hi there again,

we are setting up a small cluster with loadbalancing, fail-over, etc -  2
front and 2 back-end db servers. Everything is ok except for database
replication. As I understand it the easiest way of replicating the database
is via triggers; as rows in a table gets updated, deleted or are inserted
the same action is triggered on the second db server. My question is: Does
the trigger function allow for database level triggers or is it only
possible for individual tables? Also has anyone got experience with this
kind of situation and is this idea generaly commendable?

thanks in advance

regards, Peter




Message-ID: <003e01c1791f$75210590$0300000a@600mlPeterPC1>
Permalink:  ../003e01c1791f$75210590$0300000a@600mlPeterPC1/
Also on:    postgresql.org/message-id/003e01c1791f$75210590$0300000a@600mlPeterPC1

 · 

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-sql@postgresql.org
  Cc: peterh@600ml.com.au, pgsql-php@postgresql.org
  Subject: Re: Database Replicatio via triggers
  In-Reply-To: <003e01c1791f$75210590$0300000a@600mlPeterPC1>

* 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