Database Replicatio via triggers

From: "Peter" <peterh(at)600ml(dot)com(dot)au>
To: <pgsql-php(at)postgresql(dot)org>, <pgsql-sql(at)postgresql(dot)org>
Subject: Database Replicatio via triggers
Date: 2001-11-29 21:47:35
Message-ID: 003e01c1791f$75210590$0300000a@600mlPeterPC1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php pgsql-sql

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

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Steve Brett 2001-11-30 10:23:01 Re: persistent connections, AOLserver (Was: maybe Offtopic : PostgreSQL & PHP ?)
Previous Message Dan Wilson 2001-11-27 02:15:52 Re: Connection problem

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 2001-11-29 22:17:39 Re: CREATE RULE ON UPDATE/DELETE
Previous Message Tom Lane 2001-11-29 21:11:09 Re: Can I CONSTRAIN a particular value to be UNIQUE?