Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
influent
Constraint Violating Yak Guru
367 Posts |
Posted - 2011-11-23 : 14:29:34
|
I have 64 cores on my production server so I tried setting tempdb to use one log file and 8 data files but wait times have gone way up according to my monitoring tool, a tiny bit for disk but a factor of 100 for CPU. Some minor schema/sproc changes were made at the same time but I highly doubt they were responsible. What's really weird is that I don't notice a difference at all in response times for my queries. Should I try changing to 4 files and see what happens? I can't make changes very often as this is a 24/7 server... |
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2011-11-23 : 15:45:24
|
Wait times with what wait type?--Gail ShawSQL Server MVP |
 |
|
influent
Constraint Violating Yak Guru
367 Posts |
Posted - 2011-11-23 : 15:52:16
|
I can't tell from the tool I'm using, should I use a system view to check? |
 |
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2011-11-23 : 16:25:21
|
Yeah. sys.dm_os_waiting_tasks, but you may need to monitor for a while.Just saying that the wait times overall have increased doesn't give any indication what could be wrong--Gail ShawSQL Server MVP |
 |
|
influent
Constraint Violating Yak Guru
367 Posts |
Posted - 2011-11-23 : 17:53:17
|
This is what I see right now using "select wait_type, sum(wait_duration_ms) from sys.dm_os_waiting_tasks group by wait_type order by 2 desc". Does it tell us anything interesting without watching it over time? The server was restarted yesterday afternoon. ONDEMAND_TASK_QUEUE 84975662KSOURCE_WAKEUP 84421552CLR_AUTO_EVENT 2075028SQLTRACE_WAIT_ENTRIES 1430549DISPATCHER_QUEUE_SEMAPHORE 852133BROKER_TRANSMITTER 28124BROKER_TASK_STOP 17636FT_IFTS_SCHEDULER_IDLE_WAIT 13378BROKER_EVENTHANDLER 8214XE_TIMER_EVENT 7185XE_DISPATCHER_WAIT 7184WAITFOR 6151LAZYWRITER_SLEEP 3839SQLTRACE_INCREMENTAL_FLUSH_SLEEP 1553SLEEP_TASK 1006CHECKPOINT_QUEUE 909REQUEST_FOR_DEADLOCK_SEARCH 647LOGMGR_QUEUE 1 |
 |
|
influent
Constraint Violating Yak Guru
367 Posts |
Posted - 2011-11-23 : 18:04:30
|
Also if I look at Resource Waits in Activity Monitor, the highest category by far in terms of Cumulative Wait Time is Other, followed very distantly by Lock and Logging. Other is generally at the top of Wait Time and Most Recent Wait Time as well. |
 |
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2011-11-24 : 04:44:05
|
All of those waits are system waits and completely ignorable.--Gail ShawSQL Server MVP |
 |
|
|
|
|