|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, February 13, 2013 7:48 AM
Points: 28,
Visits: 193
|
|
I have two environments:
DEV: VM 4 virtual cores 16 GB Mydatabase 137242.19 MB Attached SAN storage SQL 2008 R2 standard
PROD: Physical 32 Core 2 Processor 64 GB RAM Mydatabase 134892.19 MB Attached SAN storage (LUN not shared with any other server) SQL 2008 R2 standard
I monitor prod with Idera Diagnostic Manager and have stats during the backup time. CPU/IO/Memory paging etc.. all low.
backup script BACKUP DATABASE [MyDatabase] TO DISK = N'F:\TestBackup\MyDatabase_SQL_Compress.bak' WITH COPY_ONLY, NOFORMAT, NOINIT, NAME = N'MyDatabase-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, COMPRESSION, STATS = 10 GO
Backup on VM takes 17 min backup on Prod takes 88 min
I have no idea why. thoughts?
Michael B Data Architect MCT, MCITP(SQL DBA 2005/2008),MCTS, MCP,MCDBA
|
|
|
|
|
SSC-Dedicated
           
Group: Administrators
Last Login: 2 days ago @ 1:47 PM
Points: 31,406,
Visits: 13,722
|
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, February 13, 2013 7:48 AM
Points: 28,
Visits: 193
|
|
I was the only process running at that time. and CPU was < 5 % utilized
Michael B Data Architect MCT, MCITP(SQL DBA 2005/2008),MCTS, MCP,MCDBA
|
|
|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 4:06 AM
Points: 681,
Visits: 298
|
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, February 13, 2013 7:48 AM
Points: 28,
Visits: 193
|
|
max during that run:
for 10 min Physical IO was 440 page writes per second.. otherwise is was 40 max over the other the 77 min average disk ms/write was 120 for 5 min of the 88 min. average was 60
Michael B Data Architect MCT, MCITP(SQL DBA 2005/2008),MCTS, MCP,MCDBA
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, February 13, 2013 7:48 AM
Points: 28,
Visits: 193
|
|
anyone? This is baffling to me!
Michael B Data Architect MCT, MCITP(SQL DBA 2005/2008),MCTS, MCP,MCDBA
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Today @ 8:09 AM
Points: 1,558,
Visits: 1,396
|
|
Is the SAN shared with other servers? I've experienced issues like this running backups to a shared SAN because everyone else was backing up their databases at the same time and flooding the SAN throughput. I moved the backup time from midnight to 4 AM and the problem disappeared.
Is there anything other than backups using the F drive? Databases files? Replication snapshot folder or distribution database files? Backup of other databases running simultaneously? Log backups?
My blog: SQL Soldier Twitter: @SQLSoldier Microsoft Certified Master: SQL Server 2008 Sr. Product Consultant and Chief SQL Server Evangelist @ Idera My book: Pro SQL Server 2008 Mirroring
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Thursday, March 28, 2013 7:33 AM
Points: 151,
Visits: 145
|
|
sorry, misread your post. forget about what I just wrote.
Instead:
can you look at the waitstats during your backup and post the results.
you can find a good waitstat query here:
http://www.sqlskills.com/BLOGS/PAUL/post/Wait-statistics-or-please-tell-me-where-it-hurts.aspx
Edward
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, February 13, 2013 7:48 AM
Points: 28,
Visits: 193
|
|
Edward Dortland (8/23/2012) what does this say:
SELECT db.name, er.percent_complete, er.total_elapsed_time/60000 AS ElapsedMinutes, er.estimated_completion_time/60000 AS remaining_minutes FROM sys.sysdatabases db INNER JOIN sys.dm_exec_requests er ON db.DBID=er.database_id AND er.command LIKE '%BACKUP%'
and does the output change over time?
Edward
I get nothing.. since it is not running at this time of day. The output doesnt really change as far as the size of the backups.
Michael B Data Architect MCT, MCITP(SQL DBA 2005/2008),MCTS, MCP,MCDBA
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, February 13, 2013 7:48 AM
Points: 28,
Visits: 193
|
|
Robert Davis (8/23/2012) Is the SAN shared with other servers? I've experienced issues like this running backups to a shared SAN because everyone else was backing up their databases at the same time and flooding the SAN throughput. I moved the backup time from midnight to 4 AM and the problem disappeared.
Is there anything other than backups using the F drive? Databases files? Replication snapshot folder or distribution database files? Backup of other databases running simultaneously? Log backups?
I have been told that this LUN is dedicated to this server. I am sure other servers share the whole SAN though. Most of my backups occur on a different LUN or completely diff SAN I believe. I will confirm this.. nothing else is on this volumues/drive except backups. no replication. I watched it last night to ensure nothing else was running on that server.
Michael B Data Architect MCT, MCITP(SQL DBA 2005/2008),MCTS, MCP,MCDBA
|
|
|
|