Re: Fast Table Replication / Mirroring - Mailing list pgsql-general

From Gregory S. Williamson
Subject Re: Fast Table Replication / Mirroring
Date
Msg-id 71E37EF6B7DCC1499CEA0316A25683280105710A@loki.globexplorer.com
Whole thread Raw
In response to Fast Table Replication / Mirroring  (Alex <alex@meerkatsoft.com>)
List pgsql-general
see contrib/dbmirror ... triggered by updates on the primary. Don't know if it would work for you ... not sure about
thesecond part (see the differences). It uses a table it creates called "Pending" to store transactions. 

Greg W.

-----Original Message-----
From:    Alex [mailto:alex@meerkatsoft.com]
Sent:    Thu 8/28/2003 8:49 PM
To:    pgsql-general@postgresql.org
Cc:
Subject:    [GENERAL] Fast Table Replication / Mirroring

Hi,
I saw some replication projects but think this might be an overkill for
my intentions.

I have two databases, Primary / Secondary where the Secondary is
readyonly for
users. I need to mirror tables when changes occur on that table. That
may happen a few times a day.
Tables are in the area of  few 100k records.

A) Is there an easy way to copy the data from Primary to Secondary
     Can this be triggered by updates on the primary table ?

B) Is there a fast way to check if table A on Primary and Secondary
server are in Sync?
     Not number of records but contents.

Any advise would be appreciated.

Alex



---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@postgresql.org so that your
      message can get through to the mailing list cleanly




pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Problems with transactions and sequences
Next
From: Tom Lane
Date:
Subject: Re: left outer join terrible slow compared to inner join