Author |
Topic |
loamguy
Starting Member
15 Posts |
Posted - 2009-01-20 : 10:22:45
|
Hello, I know that backups of SQL databases are dynamic and do not take the DB offline, however, during our maintenance window, we are seeing a website slowdown. Is it possible that an automated SQL DB backup (size about 100MB) would slow down the website that uses it for read/write? |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
loamguy
Starting Member
15 Posts |
Posted - 2009-01-20 : 13:09:04
|
That's kind of what I figured, but given my amateur status I thought I'd check with the pros. Thanks very much! |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
loamguy
Starting Member
15 Posts |
Posted - 2009-01-21 : 10:11:32
|
With regard to SQL Profiler, for queries that take a long time to execute, should I be looking at the Duration and CPU columns? At what threshold should I be concerned about performance? I ran a quick trace and found one query to have a duration of 140. Not sure what that is... is it seconds?Any other columns in a trace I should look at? |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2009-01-21 : 12:24:12
|
The threshold depends upon your requirements. We have some apps that would freak out if any query took more than 500 milliseconds. We have other apps that worry when it is over 5 seconds. So it just depends on your requirements.I typically run this from the trace file/tableSELECT TOP 1000 Duration/1000000.0 AS DurationInSecs, TextDataFROM ...WHERE TextData IS NOT NULLORDER BY Duration DESCDuration of 140 is either microseconds or milliseconds, depending upon how you are viewing it. If it's from the GUI, then that's in milliseconds. If you are looking at it in a trace file/table, then it's in microseconds. I've got a blog on this inconsistency that I'll dig up.Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/Subscribe to my blog |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|