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
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr 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?

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

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen 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
Post #1395269
Posted Tuesday, December 11, 2012 12:48 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC 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.
Post #1395282
Posted Tuesday, December 11, 2012 1:00 PM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr 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?

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

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC 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.
Post #1395438
Posted Tuesday, December 11, 2012 11:16 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, May 16, 2013 10:05 PM
Points: 99, Visits: 98
Please read the link i posted..
Post #1395439
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse