Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Parallelism in Simple Queries Expand / Collapse
Author
Message
Posted Friday, June 5, 2009 12:48 PM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, June 8, 2012 12:30 AM
Points: 150, Visits: 3,892

I found a great article on wait locks here on SQL ServerCentral, but was wondering if someone could expound on what the author was saying regarding the below:

"You can adjust this level so that SQL server will not consider lower costing queries for parallelism, and by profiling the queries and procs your can find the sweet spot for your server."
Full Article: http://www.sqlservercentral.com/articles/Administration/wait_types/856/

My question is, what determines a low costing query vs high costing query as it relates to parallelism? Is it size of the tables involved or perhaps gnarly joins?

If I have a very simple query like the below, but both tables involved have...say...150 million records, would high parallelism or low parallesim be optimal for this query?

SELECT Col1
INTO Table0
FROM Table1 t1
INNER JOIN Table2 t2 on t1.Col1 = t2.Col2

Post #729980
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse