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 2008
»
SQL Server 2008 Administration
»
Cost threshold for parallelism
13 posts, Page 1 of 2
1
2
»»
Cost threshold for parallelism
Rate Topic
Display Mode
Topic Options
Author
Message
SQLSACT
SQLSACT
Posted Tuesday, November 27, 2012 3:45 AM
Ten Centuries
Group: General Forum Members
Last Login: Today @ 8:22 AM
Points: 1,258,
Visits: 2,232
Hi all
When dealing with the Cost threshold for parallelism, I am almost certain that the
Cost
is not an amount in seconds but rather a number that SQL Server internally uses.
Is this correct?
I'm asking because I am going through a well-known book and it says:
The "cost" is the estimated amount of time in seconds that it would take to execute
Is my understanding wrong?
Thanks
Post #1389057
s_osborne2
s_osborne2
Posted Tuesday, November 27, 2012 3:55 AM
SSChasing Mays
Group: General Forum Members
Last Login: Today @ 10:06 AM
Points: 628,
Visits: 1,926
Hi,
I'm also of the understanding that "cost" is just an arbitrary no.
This
link
seems to back that up.
Thanks,
Simon
MCSA: SQL Server 2012
Follow me on Twitter:
@WazzTheBadger
LinkedIn Profile:
Simon Osborne
Post #1389061
anthony.green
anthony.green
Posted Tuesday, November 27, 2012 3:56 AM
SSCertifiable
Group: General Forum Members
Last Login: Wednesday, June 05, 2013 2:40 AM
Points: 5,075,
Visits: 4,833
From MSDN
The cost refers to an estimated elapsed time in seconds required to run the serial plan on a specific hardware configuration
http://msdn.microsoft.com/en-us/library/ms188603(v=SQL.105).aspx
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1389064
SQLSACT
SQLSACT
Posted Tuesday, November 27, 2012 4:03 AM
Ten Centuries
Group: General Forum Members
Last Login: Today @ 8:22 AM
Points: 1,258,
Visits: 2,232
anthony.green (11/27/2012)
From MSDN
The cost refers to an estimated elapsed time in seconds required to run the serial plan on a specific hardware configuration
http://msdn.microsoft.com/en-us/library/ms188603(v=SQL.105).aspx
From SSC
http://www.sqlservercentral.com/Forums/Topic1287679-146-1.aspx#bm1287938
Post #1389069
anthony.green
anthony.green
Posted Tuesday, November 27, 2012 4:08 AM
SSCertifiable
Group: General Forum Members
Last Login: Wednesday, June 05, 2013 2:40 AM
Points: 5,075,
Visits: 4,833
I stand corrected.
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1389070
SQLSACT
SQLSACT
Posted Tuesday, November 27, 2012 4:41 AM
Ten Centuries
Group: General Forum Members
Last Login: Today @ 8:22 AM
Points: 1,258,
Visits: 2,232
anthony.green (11/27/2012)
I stand corrected.
Can I assume that my documentation is incorrect then?
Post #1389087
anthony.green
anthony.green
Posted Tuesday, November 27, 2012 5:02 AM
SSCertifiable
Group: General Forum Members
Last Login: Wednesday, June 05, 2013 2:40 AM
Points: 5,075,
Visits: 4,833
Yes I would as Gail has mentioned that the documentation on MSDN is incorrect, so anything which says its in seconds is incorrect.
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1389107
anthony.green
anthony.green
Posted Tuesday, November 27, 2012 5:04 AM
SSCertifiable
Group: General Forum Members
Last Login: Wednesday, June 05, 2013 2:40 AM
Points: 5,075,
Visits: 4,833
Yes I would as Gail has mentioned that the documentation on MSDN is incorrect, so anything which says its in seconds is incorrect.
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1389108
GilaMonster
GilaMonster
Posted Tuesday, November 27, 2012 7:25 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 11:41 AM
Points: 38,089,
Visits: 30,383
It's not seconds (anymore). It's a meaningless, unitless number.
It was originally based off of seconds on a specific benchmark machine back when the QO was initially developed, back sometime in the mid 90's
Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild
: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter
We stand on the bridge and no one may pass
Post #1389185
Grant Fritchey
Grant Fritchey
Posted Wednesday, November 28, 2012 8:04 AM
SSChampion
Group: General Forum Members
Last Login: Yesterday @ 9:49 AM
Points: 13,436,
Visits: 25,281
Just remember that the number is an estimate. This means it can be wildly inaccurate. But, it's the only number you get, so you're going to use it, just don't rely on it.
----------------------------------------------------
"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 #1389812
« Prev Topic
|
Next Topic »
13 posts, Page 1 of 2
1
2
»»
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.