Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Performance - union
Message
De
02/02/2012 05:14:16
 
 
À
01/02/2012 23:00:15
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Desktop
Divers
Thread ID:
01534182
Message ID:
01534261
Vues:
48
>Hi
>
>Attachment
>
>without Union it take 1sec with union it take > 3min
>From Execution Plan it highlight missing index
>But after I add in the recommend index it take 4.51min

post images of two execution plan.

time for this is ?
SELECT myView.*
, (SELECT TOP 1 TableZ.FieldA FROM  DB2.dbo.TableZ WHERE myView.Key = TableZ.Key)
FROM MyView
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform