June 23, 2010 at 2:56 pm
I am learning some basics about TSQL performance tuning. Some of the terms are confusing to me. Could somebody answer this simple question? Thanks.
June 23, 2010 at 3:55 pm
A table scan is a read of all the data pages of a table that does not have a clustered index
A clustered index scan is a read of all the data pages of a table that does have a clustered index
http://sqlinthewild.co.za/index.php/2007/11/15/execution-plan-operations-scans-and-seeks/
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 23, 2010 at 7:30 pm
hl6a (6/23/2010)
I am learning some basics about TSQL performance tuning. Some of the terms are confusing to me. Could somebody answer this simple question? Thanks.
The simple answer is "Yes" with the semantical differences that Gail noted above. Performance wise, one is just as bad (or good, depending) as the other.
{edit} And, I definitely recommend the link that Gail pointed you to.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 24, 2010 at 6:46 am
Thanks so much for the answers and more!
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply