Why not parallelism

博雄 胡 190 Reputation points
select * from yieldtransit

cost threshold for parallelism run_value = 1

max degree of parallelism run_value = 0

StatementSubTreeCost = 42.1767


SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,342 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 43,166 Reputation points

    There is no JOIN, no WHERE, only a query as full table scan.

    What for parallelism on what do you expect?

    If it would be a partioned table, then maybe.

    1 person found this answer helpful.

  2. Erland Sommarskog 106.8K Reputation points

    The final operator cannot have parallelism. There is not much point in having a parallel scan and a Gather Streams operator. Also, the major part of the execution time in this case is receiving the data in the client.

    But if you try something like

    SELECT col, COUNT(*)
    FROM  yieldtransit
    GROUP BY col

    This is query is likely to have parallelism, since there is now more work to do.

    1 person found this answer helpful.