home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / database / sybase / 572 < prev    next >
Encoding:
Internet Message Format  |  1992-12-26  |  1.9 KB

  1. Path: sparky!uunet!wupost!spool.mu.edu!agate!ucbvax!mtxinu!sybase!ben
  2. From: ben@sybase.com (Benjamin von Ullrich)
  3. Newsgroups: comp.databases.sybase
  4. Subject: Re: Recovering from a log segment full condition (don't set model's truncate log on checkpoint!)
  5. Message-ID: <27462@sybase.sybase.com>
  6. Date: 26 Dec 92 15:35:53 GMT
  7. References: <1992Dec22.173634.4259@sunova.ssc.gov> <VO!K2YHW3@linac.fnal.gov>
  8. Sender: news@Sybase.COM
  9. Organization: sybase, inc., emeryville-across-from-SF, ca
  10. Lines: 27
  11.  
  12. i can give you a very good reason not to turn on the database option
  13. 'truncate log on checkpoint' on the model database.  since this database is the
  14. template for all databases at CREATE DATABASE time, setting this option on
  15. model makes it be automatically set on all new databases as they are created.
  16. aside from the simple fact that this may not be what you want on all new
  17. databases, if you are in the midst of a frenzied recovery of a major production
  18. database (say, in the middle of the day, while all your users are down), and
  19. you load your database backup, the first gift your clever option on model will
  20. give you is a truncated log in front of all the transaction log dumps you were
  21. about to apply to bring the database you just loaded up to the time of failure.
  22. truncating the log at any time between LOAD DATABASE and your last LOAD
  23. TRANSACTION blasts a hole in the log chain and halts the recovery operation
  24. then & there.
  25.  
  26. getting "out of sequence" errors from LOAD TRANSACTION while your boss
  27. and users are staring you down is NO FUN, and causes you unneeded embarassment 
  28. when you call tech support for help because you KNOW you're "in sequence."
  29.  
  30. avoid this potentially aggrivating situation and don't set truncate log on
  31. checkpoint on model.  upgrade your sql server to 4.8 or 4.9.1 , and get
  32. this and many other problems fixed.
  33.  
  34. --
  35. ..ben
  36. ------
  37. Benjamin von Ullrich         only i do the talking here -- not my employer.
  38. ben@sybase.com                   {pyramid,pacbell,sun,lll-tis}!sybase!ben
  39.