Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Slow restore performance Expand / Collapse
Author
Message
Posted Tuesday, December 11, 2012 10:56 AM
SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: Today @ 7:36 AM
Points: 653, Visits: 3,907
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?

Post #1395246
Posted Tuesday, December 11, 2012 11:55 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Yesterday @ 10:48 AM
Points: 1,531, Visits: 2,248
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.

The Redneck DBA
Post #1395269
Posted Tuesday, December 11, 2012 12:48 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, September 29, 2014 10:09 AM
Points: 103, Visits: 110
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.
Post #1395282
Posted Tuesday, December 11, 2012 1:00 PM
SSChasing Mays

SSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing MaysSSChasing Mays

Group: General Forum Members
Last Login: Today @ 7:36 AM
Points: 653, Visits: 3,907
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?

Post #1395292
Posted Tuesday, December 11, 2012 11:14 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, September 29, 2014 10:09 AM
Points: 103, Visits: 110
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.
Post #1395438
Posted Tuesday, December 11, 2012 11:16 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, September 29, 2014 10:09 AM
Points: 103, Visits: 110
Please read the link i posted..
Post #1395439
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse