Re: Restore from backup very slow
From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 06/05/04
- Next message: Daniel: "register database"
- Previous message: Dan Marth: "Re: Can't find NOT FOR REPLICATION option"
- In reply to: DeeJay Puar: "Re: Restore from backup very slow"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 5 Jun 2004 02:28:40 +0200
... and not only the same size. It has to have the same number of database files, where each has the same
logical file name and at least the same size as when you took the backup.
-- Tibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://www.solidqualitylearning.com/ "DeeJay Puar" <deejaypuar@yahoo.com> wrote in message news:1880b01c44a6f$d56cf750$a001280a@phx.gbl... > Just adding to Geoff already said, this process only > happens if you are restoring the backup to a different > server than the original server and the database does not > exist on the new server. > > If you are restoring a backup file to original server and > database is present, data files are not re-created and > restore process is much faster. > > In the future, if you have to restore the database to a > different server or same server with a new db name, it is > recommended that you create a same size database before > you kick-off the restore. > > DeeJay > >-----Original Message----- > >SQL is creating and initializing the data files. Once > they are ready, the > >RESTORE command will load the data. > > > >-- > >Geoff N. Hiten > >Microsoft SQL Server MVP > >Senior Database Administrator > >Careerbuilder.com > > > >I support the Professional Association for SQL Server > >www.sqlpass.org > > > >"dknapp" <anonymous@discussions.microsoft.com> wrote in > message > >news:B8BE8F73-A2CE-43D0-B24B-EE4D56857A61@microsoft.com... > >> When we restore a db from a standard SQL .BAK file, the > process sits and > >seemingly does nothing for a good bit of time, well over > an hour, before the > >progress bar starts to move (we are using EM for the > restore). Server > >version is SQL2K(SP3) on Win2K machine, 2 GB RAM, nothing > else running on > >the box. The backup was 14GB in size. Is SQL doing some > sort of > >verification or something before starting the restore? > The backup itself > >takes only 15 minutes or so. The .BAK file is on the > same drive as the > >destination DB. > > > > > >. > >
- Next message: Daniel: "register database"
- Previous message: Dan Marth: "Re: Can't find NOT FOR REPLICATION option"
- In reply to: DeeJay Puar: "Re: Restore from backup very slow"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading