February 2, 2012 at 6:11 am
I know you can set it at a server level but does anyone know if it is possible to restrict certain user queries by maximum query cost?
February 2, 2012 at 7:33 am
Have you taken a look at the Resource Governor?
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
February 2, 2012 at 7:47 am
Yes, I currently have this set up. I guess I'll just look at changing the existing classifier function to cater for the users/groups I am interested in
February 2, 2012 at 8:03 am
aaa-322853 (2/2/2012)
I know you can set it at a server level but does anyone know if it is possible to restrict certain user queries by maximum query cost?
Resource Governor does give you quite a bit of control, and it's certainly much, much better than the old query governor cost limit option and the per-connection SET QUERY_GOVERNOR_COST_LIMIT.
February 6, 2012 at 4:10 am
ok check below link pls
http://stackoverflow.com/questions/71022/sql-max-of-multiple-columns
February 6, 2012 at 4:13 am
johnitech.itech (2/6/2012)
http://stackoverflow.com/questions/71022/sql-max-of-multiple-columns%5B/quote%5D
What exactly does the link have to do with the question? The question is about restricting query costs, the link is about finding the max of multiple columns. About the only similarity I could see is that the word 'max' appears in both.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 6, 2012 at 6:44 pm
GilaMonster (2/6/2012)
johnitech.itech (2/6/2012)
ok check below link plshttp://stackoverflow.com/questions/71022/sql-max-of-multiple-columns%5B/quote%5D
What exactly does the link have to do with the question? The question is about restricting query costs, the link is about finding the max of multiple columns. About the only similarity I could see is that the word 'max' appears in both.
This is hilarious: it is the first Google match for the stack overflow site and the title of the thread...:
site:stackoverflow.com Max Query Cost per User?
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply