home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!decwrl!decwrl!infopiz!lupine!motcsd!udc!mcdphx!ennews!anasaz!qip!briand
- From: briand@anasaz (Brian Douglass)
- Newsgroups: comp.databases
- Subject: Re: Hot Standby DBMS's
- Message-ID: <1992Aug19.052516.24063@anasaz>
- Date: 19 Aug 92 05:25:16 GMT
- References: <9208172103.AA04378@hplwk.hpl.hp.com> <Bt6IsC.F00@world.std.com>
- Organization: Anasazi, Inc. Phoenix, Az
- Lines: 52
-
- In article <Bt6IsC.F00@world.std.com> edwards@world.std.com (Jonathan Edwards) writes:
- >In article <9208172103.AA04378@hplwk.hpl.hp.com> albert@HPLWK.HPL.HP.COM (Joseph Albert) writes:
- >>
- >>Jonathan Edwards writes:
- >>
- >>>In the transaction-processing world, there is the concept of a 'hot standby'
- >>>system, which is a geographically separated system containing a copy of the
- >>>database, and capable of coming online very quickly. The replicated data must
- >>>be close to current, and guaranteeing complete synchronization is required
- >>>by some applications. A further feature is the ability to 'catchup'
- >>>incrementally to missed changes after an outage, without a complete database
- >>>copy. Our database (homebrew non-relational) does this.
- >>>Are there any other databases that can do this?
- >>
- >>A more reliable fault-tolerance would be obtained from redundancy at a
- >>level which is lowered than the level of abstraction of the database.
- >>Disks can be made redundant by having 2 or 3 physical disks, with
- >[...]
- >
- >Yes, this is 'remote mirroring', which I discussed in my post.
- >Note that I am talking about keeping the systems 100 miles apart. To do disk
- >mirroring over that distance is EXTREMELY expensive: you basically need a
- >fiber optic cable. Sending the journal stream of the database requires an
- >order of magnitude (or two) less bandwidth.
-
- Another approach to this through the use of Transaction Managers (Tuxedo,
- Encina, Top-End under Unix). These products, and their grandpappy, CICS,
- have the ability to distribute transactions among processors or machines be
- they 10 feet apart or 100 miles.
-
- The general approach to your problem would be to have machine 1 (M1) receiving
- and processing transactions. A 100 miles away, you put machine 2 (M2). A
- wire runs between them. Whenever a transaction comes into M1 for processing,
- the same transaction is forwarded on to M2 for identical processing. If M1
- goes down for some reason (Hurricane), M2 takes over processing. Whether
- transactions arrive at it from M1, or straight from the source units across
- the net, they all look the same to it.
-
- Now of course some additional programming is necessary on both M1 and M2 so
- that when one or the other is down, a sync log is created. Once the down
- machine is resurrected, the sync log is read and transactions are fed to
- the revived machine until is catches up, and the sync process can go back
- to sleep.
-
- People from all three of these companies are listening and I'm sure they'd
- be happy to post their addresses, phone numbers and contacts if people are
- interested.
-
- --
- "... For I have sworn upon the alter of god, eternal hostility against
- every form of tyranny over the mind of man." Thomas Jefferson
- Brian Douglass briand@anasazi.com 602-870-3330 X657
-