home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!decwrl!world!edwards
- From: edwards@world.std.com (Jonathan Edwards)
- Subject: Re: Hot Standby DBMS's
- Message-ID: <BtDxM2.HJn@world.std.com>
- Organization: The World Public Access UNIX, Brookline, MA
- References: <1992Aug19.052516.24063@anasaz> <BtA7DE.JrG@world.std.com> <1992Aug21.073707.6235@anasaz>
- Date: Sat, 22 Aug 1992 12:34:50 GMT
- Lines: 29
-
- In article <1992Aug21.073707.6235@anasaz> briand@anasaz (Brian Douglass) writes:
- >The two systems are not in lock step. The above transaction would arrive
- >at machine 1 as a DEPOSIT transaction and would be processed by the
- >DEPOSIT process. The very same transaction would be routed to machine 2
- >for the same processing. There is no need the individual DEPOSIT processes
- >to even know about each other. The coordination that does have to take
- >place is that machine 2 completes the transaction successfully. If it
- >doesn't, then this transaction remains open in a log on machine 1. It does
- >NOT affect the consistency of the data on machine 1. Machine 1 is just
- >storing up transactions that are uncompleted on machine 2. At this point
- >it should be programatic to insure that when machine 2 does ressurect, it
- >does catchup with machine 1, and all transactions are processed singularly
- >by machine 2.
- >
- I am talking about inconsistency between the two databases, not within them.
- It is an elementary fact that complex multithreaded systems are not
- deterministic. Just reproducing the input-transaction stream on another
- system will NOT GIVE YOU THE SAME RESULTS. I used the example of two operators
- requesting an update on the same record. One wins, but not necessarily the
- same one on both systems. Unless you add special application code to resolve
- this, there will be an inconsistency between the databases. But hey, we don't
- even need this. What about timestamps placed inthe database? These will be
- different on the two systems, leading to inconsistencies (the two databases
- are NOT EQUAL).
- Duplexing inputs is simply not a general approach to data replication.
- Thank you for your comments. Goodbye.
-
-
-
-