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
 This query runs slower than expected

Author  Topic 

AnushaSL
Starting Member

1 Post

Posted - 2010-09-06 : 14:17:06
This query runs slower than expected (compared to other similar queries on the same database and tables)
Eg.
Select table1.x, table2.y from table1 join table2 on table1.a = table2.b
What are some likely cause of the problem.

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2010-09-06 : 16:01:53
The answer for your homework is

1) Lack of proper index
2) Old statistics
3) Lack of proper filtering aka returning too many records that are depending on network speed.


N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page
   

- Advertisement -