Query tuning

  • Hi,

    I am working with one of the Sql long running query. It is running around 2 hr.

    It has several left & Rightouterjoins. The execution plan is showing so many hash joins. How to avoid that hash joins.

    Whenever there is index scan immediately parallelism and then immediately hash match is there

    Any suggestions

  • Why do you think hash joins are a problem?

    http://www.sqlservercentral.com/articles/Performance+Tuning/115825/

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply