Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optimisation as per execution plan
Message
De
28/10/2011 10:41:08
 
 
À
28/10/2011 09:36:18
Peter Larsson
Developer Workshop
Suède
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Indexation
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01526170
Message ID:
01527533
Vues:
34
>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.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform