October 13, 2010 at 11:29 am
The LOOP join is a hint where they're trying to force a choice on the optimizer. In addition to fixing the scan, I'd test taking out that hint to see what it does for performance.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
October 13, 2010 at 5:01 pm
I removed the Loop hint and it seem to make the performance worse than what it was before the move.
It degraded tremendously with the loop hint removed.
October 13, 2010 at 7:21 pm
reggie burns-317942 (10/13/2010)
I removed the Loop hint and it seem to make the performance worse than what it was before the move.It degraded tremendously with the loop hint removed.
Did you check the datatypes of the columns in the joins like Jo and I suggested? It makes a hell of a difference in 2K8.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 14, 2010 at 9:17 am
Yea. All the datatypes in the joins are int.
Could it be because of having over 50mil records in one table and over 80mil in a 2nd table and neither are partitioned in 2008?
October 15, 2010 at 11:49 am
Could I see a performance change with 2000 and 2008 if they are configured as
2000 has Windows2003 Enterprise with 8GB RAM
2008R2 has Windows2008 R2 Enterprise with 8GB RAM
Could 2008 performace go down tremendously?
October 15, 2010 at 11:52 am
reggie burns-317942 (10/15/2010)
Could I see a performance change with 2000 and 2008 if they are configured as
2000 has Windows2003 Enterprise with 8GB RAM
2008R2 has Windows2008 R2 Enterprise with 8GB RAM
Could 2008 performace go down tremendously?
I would say no, based on this change only.
__________________________________________________________________________________
SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
Persisting SQL Server Index-Usage Statistics with MERGE[/url]
Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]
Viewing 6 posts - 16 through 20 (of 20 total)
You must be logged in to reply to this topic. Login to reply