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