Re: Batch replication ordering (was Re: [GENERAL] 32/64-bit

From: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>
To: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
Cc: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>, Jan Wieck <JanWieck(at)Yahoo(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org, Steven Singer <ssinger(at)navtechinc(dot)com>
Subject: Re: Batch replication ordering (was Re: [GENERAL] 32/64-bit
Date: 2003-04-12 15:54:58
Message-ID: 20030412105458.Z31861@flake.decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Apr 11, 2003 at 07:32:15PM -0600, Ed L. wrote:
> I appreciate your pointing that out. It is pretty undesirable for data to
> appear on the slave in an order different from the one in which it appears
> on the master. I guess that's another downside to batching. I'm not sure
> this approach can do any better than approximating the order since there is
> no knowledge of the commit order.

I know this will probably require more work than you'd like, but it
seems like it might be very useful/important for the replication queue
to have definitive information about when commits occur.

BTW, I don't know how this would apply to pgsql, but both DB2 and Oracle
handle replication via the transaction logs. AFAICT they don't keep
seperate replication tables or anything; they just ship whole
transaction logs off to the slaves (a bit of a simplification, but my
point is that all the data the slaves get is in the form of the
transaction logs that are normally kept by the master anyway).
--
Jim C. Nasby (aka Decibel!) jim(at)nasby(dot)net
Member: Triangle Fraternity, Sports Car Club of America
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2003-04-12 15:55:13 Re: Batch replication ordering (was Re: [GENERAL] 32/64-bit
Previous Message Jan Wieck 2003-04-12 15:27:21 Re: Batch replication ordering (was Re: [GENERAL] 32/64-bit