Solved

Can one query be spread across multiple cpu's

Posted on 2006-11-20
3
259 Views
Last Modified: 2008-01-09
Hi,

Im looking for some further information on how MS SQL works on dual xeon machines.

If i run a simple query. ie: select * from test. Would that query run on one cpu, or would it be spread across all 4 cpu's?
0
Comment
Question by:zattz
3 Comments
 
LVL 35

Accepted Solution

by:
Raynard7 earned 300 total points
Comment Utility
Hi,

This article describes how the sql processor divides the query into tasks as appropriate and then how it is recombined.

It is possible for one query to run across multiple processors

http://www.microsoft.com/technet/prodtechnol/sql/70/maintain/sql7qp.mspx
0
 
LVL 142

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 200 total points
Comment Utility
note that for most applications, having queries to be split over several CPU costs more than it brings as end result, which is why in all cases until now, I deactivated the parallel query execution.
note: this is not the same setting as allowing sql server to run in general on all cpu (cpu affinity).
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Performance is the key factor for any successful data integration project, knowing the type of transformation that you’re using is the first step on optimizing the SSIS flow performance, by utilizing the correct transformation or the design alternat…
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now