Thanks DanielWilson that is a good idea. Quick question I noticed and sorry for not posting that I had over logical reads 2151348 in a table this constantly being updated. Would this cause my MERGE and RESIDUAL Hash to have to work in this plan vs. the other database that is not being updated as much in the table I am querying and joining? Just a thought.
Main Topics
Browse All Topics





by: DanielWilsonPosted on 2009-10-26 at 16:32:20ID: 25668070
It may be valid to use a different execution plan based on different amounts of data. However, if the indexes and/or statistics are out of date, the server will not make an informed decision.
Try rebuilding the indexes & statistics & see if that solves the problem.