Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimisation as per execution plan
Message
From
28/10/2011 09:36:18
Peter Larsson
Developer Workshop
Sweden
 
 
To
25/10/2011 10:34:02
General information
Forum:
Microsoft SQL Server
Category:
Indexing
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01526170
Message ID:
01527531
Views:
45
Likes (1)
SQL Server is cost-based. That means Query Processor (QP) evaluates a number of scenarios to determine how it should attack the problem and how it should return the rows.
So even an insert/delete/update of 1 row can make a huge change between a scan or a seek in your execution plan.

SQL Server prefers scan as it per definition is sequential. Seeks are random in nature. The underlying disks (SSD or SCSI) doesn't matter. Yet.

You have probably encountered a tipping point where QP calcuates that a SEEK together with a KEY LOOKUP is less costly than a SCAN to get all columns in one sweep.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform