Tracing or Logging Resource Governor classification function behavior in Sql Server 2008

Posted by nganju on Stack Overflow See other posts from Stack Overflow or by nganju
Published on 2010-01-05T19:19:52Z Indexed on 2010/05/30 5:32 UTC
Read the original article Hit count: 240

I'm trying to use the Resource Governor in SQL Server 2008 but I find it hard to debug the classification function and figure out what the input variables will have, i.e. does SUSER_NAME() contain the domain name? What does the APP_NAME() string look like?

It's also hard to verify that it's working correctly. What group did the function return? The only way I can see this is to fire up the performance monitor and watch unblinkingly for little blips in the right CPU counter.

Is there some way I can either run it in Debug mode, where I can set a breakpoint and step through and look at variable values, or can I at least do the old-school method of writing trace statements to a file so I can see what's going on?

Thanks...

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about tsql