Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Server 2005 Resources Management


SQL Server 2005 Resources Management

Author
Message
johnny_hsiao
johnny_hsiao
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 80
Can I limit some jobs or users in SQL Server 2005 using resources (CPU or Memory)?
If SQL Server running on 2 CPUs host, Can I limit SQL Using CPU#1 or CPU#2 or using max 50%?
SQLBalls
SQLBalls
SSC-Addicted
SSC-Addicted (432 reputation)SSC-Addicted (432 reputation)SSC-Addicted (432 reputation)SSC-Addicted (432 reputation)SSC-Addicted (432 reputation)SSC-Addicted (432 reputation)SSC-Addicted (432 reputation)SSC-Addicted (432 reputation)

Group: General Forum Members
Points: 432 Visits: 630
SQL 2005 doesn't have resource Pool management like SQL 2008, so no for doing anything per user.

as far as limiting to a processor you can use sp_configure and affinity mask to limit to a particular processor. I would read up on this topic and practice it as this is not something to do on a production system without a lot of testing.

http://msdn.microsoft.com/en-us/library/ms187104.aspx

As far as memory consumption you can limit the memory under the SQL instanced Server Properties | Memory | and configure the maximum amount of memory you would like to allow SQL to use.

Once again this should be tested in a dev environment as limiting the amount of SQL memory will impact SQL in almost every way, more is normally better not less. that being said I understand everyone has thier limitations they must opperate under, but be very careful adjusting any of these things as you could critically limit your server.

Twitter: @SQLBalls
Blog: http://www.SQLBalls.com
johnny_hsiao
johnny_hsiao
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 80
Thanks for ur help!
Steve Jones
Steve Jones
SSC-Forever
SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)

Group: Administrators
Points: 40418 Visits: 18846
Keep in mind this is for the whole server instance, not by user or job. So if you limit memory, you are limiting it for the entire instance and a job can still use most of it. Same for CPU, if you limit this to one CPU, one user/job can use all the CPU resources for that one CPU in SQL Server.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
Rick.Cornell.SME
Rick.Cornell.SME
SSCertifiable
SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)

Group: General Forum Members
Points: 5347 Visits: 208
Your absolutely right Steve!:-D
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search