Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Speed up Stored Proc

Author  Topic 

jbrown7232
Starting Member

22 Posts

Posted - 2009-09-14 : 01:52:31
Hello,

MSSQL 2005 SP3
I have table A that is 90 GB
I have table B that is 1.5 GB

The query that is joining the 2 tables and on common ID column and has a where clause and a few or statements. Whats the best way to decrease the HASH Match from 46% to a lower amount? Hope this all makes sense. Thanks for all help!!

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-09-14 : 10:55:54
Post your table structure including indexes for both tables, also post your query.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -