home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.misc
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!mips!mips!munnari.oz.au!mel.dit.csiro.au!dmp.csiro.au!annef
- From: annef@dmp.csiro.au (Anne Foxworthy)
- Subject: Re: SMARTDRV for Windows 3.1
- Message-ID: <1992Aug12.233533.8605@dmp.csiro.au>
- Organization: CSIRO Division of Mineral Products, Melbourne, AUSTRALIA
- References: <1992Aug10.022141.11530@dmp.csiro.au> <5454@transfer.stratus.com>
- Date: Wed, 12 Aug 1992 23:35:33 GMT
- Lines: 41
-
-
- Perhaps I worded my original post a little strongly. I do think SmartDrive
- write caching is a good thing _in general_. What I was concerned about were
- the number of people who seemed to believe the original person who asked
- about SmartDrive caching was being overly fussy, without apparently
- thinking about the various (admittedly few) situations in which write
- caching could be a major problem.
-
- Less than a week ago I had the job of "fixing" a corrupt database. I had
- done this many times before, so it should have been straight forward. It
- wasn't. Things were _really_ screwed up. Eventually we worked out what had
- happened.
-
- The machine had crashed halfway through writing a record (note, not an
- index entry). This meant that half the record was correct, while half
- still contained the old data. This database uses variables in each record
- to record various things about other records (primarily for speed). Only
- some of those variables were updated.
-
- To fix this database, I had to drag out a utility that had been written
- and used during the alpha test phase of the program (when errors of
- this kind were program induced!). Boy was I glad that utility was
- available!
-
- I should also say that we managed to get a similar thing to happen
- on purpose, using write caching. When we turned off write caching
- and repeated everything, only the indexes were incorrect.
-
- I might also add that I usually DO use SmartDrive's write caching.
-
- For those interested, the database system in use was a program written
- in C++ using CTree. It tries to save changed data at every opportunity,
- and (until SmartDrive write-caching) had never lost more than a few words
- (one field or less) under any circumstances. The database I "fixed"
- last week is, to my knowledge, the only one running with the new version
- of SmartDrive. Many users are using XTs and ATs, with 640 K - 1 Mb RAM.
- Many don't have Windows 3.0, let alone 3.1!!
-
-
-
- Anne
-