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
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Table scan or cluster index scan in execution plan

Author  Topic 

NightPassanger
Starting Member

2 Posts

Posted - 2010-11-30 : 04:36:48
Anyone do you know a good artical about the topic : When you have a table scan or cluster index scan in execution plan what should you do ?
I really have a big trouble in optimazing my queries , so any help will be appreciated :)

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2010-11-30 : 05:23:19
What you should do? It depends. A scan is not always a problem.

There are entire books on optimisation. Maybe start here:
http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-1/
http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-2/

--
Gail Shaw
SQL Server MVP
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-11-30 : 05:24:04
See this links also:
http://www.sqlteam.com/article/sql-server-indexes-the-basics
http://weblogs.sqlteam.com/mladenp/articles/9502.aspx
http://weblogs.sqlteam.com/mladenp/archive/2007/09/18/Back-To-Basics-What-is-a-Clustered-and-a-Non-Clustered.aspx

edit: added the word also

No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2010-11-30 : 06:54:44
And (not to be outdone by webfred)
http://www.sqlservercentral.com/articles/Indexing/68439/ (Introduction to indexes)
http://www.sqlservercentral.com/articles/Indexing/68563/ (the clustered index)
http://www.sqlservercentral.com/articles/Indexing/68636/ (nonclustered index)

And a dead-tree reference book http://www.amazon.com/Server-Performance-Tuning-Distilled-Experts/dp/1430219025/


--
Gail Shaw
SQL Server MVP
Go to Top of Page
   

- Advertisement -