Re: Replication in databases

From: David BL <davidbl_at_iinet.net.au>
Date: Mon, 1 Sep 2008 21:12:59 -0700 (PDT)
Message-ID: <7548adae-5a75-4a42-ad9d-61ed3dbc10da_at_d45g2000hsc.googlegroups.com>


On Sep 2, 12:05 pm, M2Y <mailtoya..._at_gmail.com> wrote:
> On Sep 2, 1:06 am, Bob Badour <bbad..._at_pei.sympatico.ca> wrote:
>
> > M2Y wrote:
> > > Hello,
>
> > > I have a fundamental doubt regarding replication in databases.
>
> > > If the isolation level is set to Serializable, why cant we just ship
> > > the transaction statements from the master to the backup and replay
> > > those transactions. Why do we adopt complicated solutions like log
> > > shipping and all such kind of things for replicating databases.
>
> > > Thanks,
> > > Srinivas
>
> > The statements might arrive at the slave in a different order and the
> > slave might serialize the transactions differently--for a start.
>
> We can maintain an order of transactions, lets say, commit order and
> let the backup replay the transactions in that order.

Isn't that basically what log shipping does anyway? Received on Tue Sep 02 2008 - 06:12:59 CEST

Original text of this message