home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / sybase / 606 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.1 KB

  1. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!hamblin.math.byu.edu!yvax.byu.edu!cunyvm!dlvgc
  2. Newsgroups: comp.databases.sybase
  3. Subject: Re: recovery time at start up
  4. Message-ID: <93005.211522DLVGC@CUNYVM.BITNET>
  5. From: Dimitri Vulis <DLVGC@CUNYVM.BITNET>
  6. Date: Tuesday, 5 Jan 1993 21:15:22 EST
  7. References: <1992Dec28.181641.4653@trdlnk.uucp>
  8. Organization: City University of New York/ University Computer Center
  9. Lines: 12
  10.  
  11. I've had similar long recovery periods with SQL Server under OS/2.
  12.  
  13. Use shutdown , not shutdown with nowait or 'net stop sqlserver' or the
  14. big red switch to shut down the database.  Shutdown will perform a checkpoint
  15. in every database. Otherwise the transactions are rolled back, or sometimes
  16. forward, and if the transactions are large, e.g.,
  17. if you were importing a lot (1E6+) rows using BCP and for some reason the
  18. machine stops, there'll be an awful long recovery time :)  Actually,
  19. I stopped using bcp altogether because I think it's flakey on SQl Server.
  20. I use straight insert, with a checkpoint every 10K rows now.
  21.  
  22. Dimitri
  23.