Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

improving on PARALLELISM , SORT costs...

Posted on 2016-08-09
3
Medium Priority
?
51 Views
Last Modified: 2016-08-22
when you use 'include actual execution plan'
      when we see scans, we can put an index.. what about below:
      
      can you improve on
      PARALLELISM (Repartition Streams)
      PARALLELISM (Distribute Streams)
      Sort
      
      when the cost on these are high?
      is sort related only to ORDERBY or could it be other factors also?
0
Comment
Question by:25112
  • 2
3 Comments
 
LVL 49

Accepted Solution

by:
PortletPaul earned 2000 total points
ID: 41749502
I suggest you read the following to get an understanding of parallelism in SQL Server:
https://www.simple-talk.com/sql/learn-sql-server/understanding-and-using-parallelism-in-sql-server/

SORT is most commonly associated with ORDER BY, but other operations such as "select distinct" or "union" might result in a need to sort the data within an execution plan.
0
 
LVL 5

Author Comment

by:25112
ID: 41765243
thanks Paul.
0
 
LVL 49

Expert Comment

by:PortletPaul
ID: 41766000
No problem. Thanks.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Screencast - Getting to Know the Pipeline

783 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