Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4014464
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:30:01+00:00 2026-05-20T09:30:01+00:00

Setup Cost of Threshold for Parallelism : 5 Max Degree of Parallelism : 4

  • 0

Setup

  • Cost of Threshold for Parallelism : 5
  • Max Degree of Parallelism : 4
  • Number of Processors : 8
  • SQL Server 2008 10.0.2.2757
  • I have a query with many joins, many records.
  • The design is a star. ( Central table with fks to the reference tables )
  • The central table is partitioned on the relevant date column.
  • The partition schema is split by days
  • The data is very well split across the partition schema – as judged by comparing the sizes of the files in the filegroups assigned to the partition schema
  • Queries involved have the predicate set over the partitioned column. such as ( cs.dte >= @min_date and cs.dte < @max_date )
  • The values of the date parameters are a day apart @ midnight so, 2010-02-01, 2010-02-02
  • The estimated query plan shows no parallelism

a) This question is in regards to Sql Server 2008 Database Engine. When a query in the OLTP engine is running, I would like to see / have the sort of insight one gets when profiling an SSAS Query using Progress End event – where one sees something like “Done reading PartititionXYZ”.

b) if the estimated query plan or the actual query plan shows no parallel processing does that mean that all partitions will be / were checked / read? * What I was trying to say here was – just b/c I don’t see parallelism in a query plan, that doesn’t guarantee the query isn’t hitting multiple partitions – right? Or – is there a solid relationship between parallelism and # partitions accessed?

c) suggestions? Is there more information that I need to provide?

d) how can I tell if a query is processing in parallel w/o looking @ the actual query plan? * I’m really only interested in this if it is helpful in pinning down what partitions are being used.


Added Nov 10

Try this:

  • Create querys that should hit 1, 3, and all your partitions
  • Open an SSMS query window, and run SET SHOWPLAN_XML ON
  • Run each query one by one in that window
  • Each run will kick out a chunk of XML
  • Compare these XML results (I use a text diff tool, “CompareIt”, but any similar tool would do)

You should see that the execution plans are significantly different. In my “3” and “All” querys, there’s a chunk of text tagged as “ConstantScan” that has an entry for (respectively) 3 and All partitions in the table, and that section is not present for the “1 partition” query. I use this to infer that yes indeed, SQL doing what it says it will do, to wit: only read as much of the table as it believes it needs to in order to resovle the query.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T09:30:01+00:00Added an answer on May 20, 2026 at 9:30 am

    Got a pretty good answer here: http://www.sqlservercentral.com/Forums/Topic1064946-391-1.aspx#bm1065048

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Setup Have you ever had the experience of going into a piece of code
Setup I have a website that draws RSS feeds and displays them on the
Setup: I have an HTML page with a fieldset element. The background color of
Setup I have a VBScript for driving the stress testing of a web service.
I setup my own open id provider on my personal server, and added a
I have a row with a cost, item type and a tags columns. I
I have the tas to setup, design (devlop a Template), configure (menus, users, plugins
I have a setup that looks like this. class Checker { // member data
Is it possible to have nested set capabilities in this somewhat custom setup? Consider
We've deployed our rails app to EC2. In our setup, we have two proxies

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.