Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
SQL Server 2005 General Discussion
»
How to limit the number of processor SQL...
How to limit the number of processor SQL servur uses.
Rate Topic
Display Mode
Topic Options
Author
Message
egpotus
egpotus
Posted Monday, March 30, 2009 3:18 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 8:04 AM
Points: 120,
Visits: 955
Hi,
Is it possible to tell SQL server to use only 4 processors out of 8 ?
I would like to dedicate 1 SQL server instance to processor 0 to 3 and a Second SQL server instance to processor 4 to 7, is it possible?
Can I use affinity mask Option ?
regards
Kindest Regards,
egpotus DBA
Post #685924
David Sorauer
David Sorauer
Posted Monday, March 30, 2009 4:13 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Wednesday, February 13, 2013 11:27 PM
Points: 170,
Visits: 553
You can use Affinity mask. From my experience, SQL Server performed better when i left SQL Server to automatically set the affinity...
Post #685942
egpotus
egpotus
Posted Monday, March 30, 2009 4:21 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 8:04 AM
Points: 120,
Visits: 955
I have one server with 8 CPU (CPU0, CPU1... CPU7) , I am using 2005 Standard Sql version so I am limited to 4 CPU.
I have 2 instances running on my server, how can I tell one instance, using affinity mask, to only use CPU4 to CPU7?
Kindest Regards,
egpotus DBA
Post #685945
Grant Fritchey
Grant Fritchey
Posted Monday, March 30, 2009 6:54 AM
SSChampion
Group: General Forum Members
Last Login: Today @ 4:50 AM
Points: 13,371,
Visits: 25,143
Just open up the Server Properties in SSMS. On the Processors page you can see how many processors you have available and set them to a particular affinity. I'd suggest reading up in the BOL prior to setting it, just so you get it right.
----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of:
SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans
Product Evangelist for
Red Gate Software
Post #686040
egpotus
egpotus
Posted Monday, March 30, 2009 8:32 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 8:04 AM
Points: 120,
Visits: 955
Those parameters cannot be update using SSMS, do you know why ?
Kindest Regards,
egpotus DBA
Post #686166
Grant Fritchey
Grant Fritchey
Posted Monday, March 30, 2009 9:27 AM
SSChampion
Group: General Forum Members
Last Login: Today @ 4:50 AM
Points: 13,371,
Visits: 25,143
First disable the automatic affinity in the check box below.
----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of:
SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans
Product Evangelist for
Red Gate Software
Post #686235
Jeffrey Williams 3188
Jeffrey Williams 3188
Posted Monday, March 30, 2009 2:20 PM
SSCarpal Tunnel
Group: General Forum Members
Last Login: Yesterday @ 11:21 AM
Points: 4,317,
Visits: 9,216
BTW - when they say SQL Server can only use 4 CPU's - they are talking about slots. A single quad core processor is one CPU's as far as licensing and utilization. So, SQL Server Standard can use up to 16 CPU's if you use 4 quad-core processors.
Jeffrey Williams
Problems are opportunites brilliantly disguised as insurmountable obstacles.
How to post questions to get better answers faster
Managing Transaction Logs
Post #686510
egpotus
egpotus
Posted Tuesday, March 31, 2009 1:18 AM
SSC-Enthusiastic
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 8:04 AM
Points: 120,
Visits: 955
thank you for this help
Kindest Regards,
egpotus DBA
Post #686763
Welsh Corgi
Welsh Corgi
Posted Monday, May 21, 2012 1:39 PM
Hall of Fame
Group: General Forum Members
Last Login: 2 days ago @ 10:46 AM
Points: 3,820,
Visits: 4,044
Since moving two Databases and several SSIS Packages I'm having issues with the AS400 iSeries and I'm getting Communication errors.
Several task fail. It seems that the task complete much faster and as if the AS400 can't keep up with it.
Should I limit the number of processors?
If I limit the number of parallel loads, SSIS Tasks, I have been able to avoid the error.
I have 1 64 bit Windows Server 2008 R2 running SQL Server 2008 R2.
I looked it up on BOL but I have never had to mess with changing the number of processors.
Any ideas would be greatly appreciated.
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #1303684
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.