Re: do I need replication or something else?

From: Yudie Pg <yudiepg(at)gmail(dot)com>
To: John Burger <john(at)mitre(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: do I need replication or something else?
Date: 2005-03-29 22:24:46
Message-ID: e460d0c0503291424139f3372@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 29 Mar 2005 16:00:37 -0500, John Burger <john(at)mitre(dot)org> wrote:
> >> If it were me, and someone proposed a model where two-way replication
> >> was needed, I would tell them to rethink their model. It's broken.
> >
> > I would respectfully disagree that the requirement for two-way
> > replication
> > indicates a broken design.
>
> I agree with your disagreement. This design is present in lots of
> non-RDB systems - CVS, IMAP, PDA syncing, etc. It's clearly more
> complicated, but can be made to work, and has been many times. I don't
> see anything about databases in general, or Postgres specifically, that
> indicates it's a bad idea.
>

I would suggest whenever changes on the main db caused by sync or
immediate update by user, it better to archive the changes into
separate table.
Archiving is quite simple with creating rule on update or delete table
to insert old record to separate table. It will be useful for further
reconciliation

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Edson Vilhena de Carvalho 2005-03-29 23:10:49 database monitor
Previous Message Scott Marlowe 2005-03-29 22:20:48 Re: do I need replication or something else?