|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Today @ 4:08 PM
Points: 568,
Visits: 3,062
|
|
Hello All,
Any thoughts and comments appreciated.
I am restoring a 2005 database to 2008 R2. I think the performance of the restore is slow and was wondering if there was anything I could check.
This is a VM server with 12 GBs and two processors. The backup file has been staged/copied over the network onto a mapped drive. We are using hyperbac. The zipped backup file is 3.5 GBs, uncompressed is 17.2 GBS.
Processor and memory are barely being pushed. Windows Server 2008 R2 SP1.
I am at an hour and 20 minutes and I find that excessive.
Anything I can check?
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Thursday, June 13, 2013 7:49 AM
Points: 1,409,
Visits: 2,032
|
|
I'd try to run Perfmon against your source and destination disks and see if either of them are giving you less performance than you think they should.
Jason Shadonix MCTS, SQL 2005
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Thursday, May 16, 2013 10:05 PM
Points: 99,
Visits: 98
|
|
If the instant file initialization is not enabled then before restoring the data sql server zeroing out the data file and start process the restoration. Try enable the instant file initialization and do the restoration but you require special permission to do this.
Below link may be useful.
http://www.bradmcgehee.com/2010/07/instant-file-initialization-speeds-sql-server/
Regards, RamaSankar MCTS,MCITP SQL SERVER 2008.
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Today @ 4:08 PM
Points: 568,
Visits: 3,062
|
|
A second restore over the same database seems to have taken 20 minutes vs 3 hours for the first restore.
Would file initialization create this discrepancy? Meaning that once the space was initialized by the first restore, the second restore did not have to perform such initialization?
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Thursday, May 16, 2013 10:05 PM
Points: 99,
Visits: 98
|
|
| Yes.. Initially it creates a database file and initialize it to zero. In your case the first restore took long time as it has to create a data file and zeroing out the file and start process the restoration.
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Thursday, May 16, 2013 10:05 PM
Points: 99,
Visits: 98
|
|
| Please read the link i posted..
|
|
|
|