Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Execution plan and Nested Loops red x
Message
De
13/02/2015 09:21:48
 
 
À
13/02/2015 09:15:02
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Indexation
Versions des environnements
SQL Server:
SQL Server 2012
Application:
Web
Divers
Thread ID:
01615280
Message ID:
01615284
Vues:
25
>Can you post an image of the execution plan and the query?
>
>Nested loops can happen (in some instances) when an equal sign is used with a subquery instead of an IN/EXISTS . Not sure that's what's going on here, but if you can post the details, we can look at it.

I have attached a view of the region of the execution plan.

I also added next to it the yellow rectangle related to it.

I have basically almost two identical queries. One is ok. The other one is showing this red x. The main difference seems to be related to a WHERE clause which uses a different index. I have one index created to satisfy the minimum needs. I created another one like the first one but with about 10 additional fields in the index list because users can search in various fields. The one which has the red x is the one having a lot of fields in the index list.
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