|
|
|
Mr or Mrs. 500
      
Group: Administrators
Last Login: Wednesday, May 08, 2013 10:31 AM
Points: 511,
Visits: 945
|
|
Yes, Gail is right: this is a SQL 2008 technique, although you can get some wait event data out of SQL 2005, as shown in this article:
http://www.simple-talk.com/sql/performance/taking-the-guesswork-out-of-sql-server-performance-profiling-part-2/
It's true that a big part of the problem is just plain old bad code but, as Steve says, mistakes will always happen; you cannot predict exactly how your code is going to be used in the future. I believe these session-level techniques are a big step forwarrd in finding the inevitable problems.
At least, I'm feeling confident enough to commisison a short book on the topic; then people can make up their own minds from there 
Cheers,
Tony.
|
|
|
|