Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performance - union
Message
 
 
To
02/02/2012 20:40:06
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Desktop
Miscellaneous
Thread ID:
01534182
Message ID:
01534372
Views:
33
>Hi
>THe exection plan should show you the SQL statement, doesn't it?
>
>Anyway, can refer to http://social.msdn.microsoft.com/Forums/en-US/sqldataaccess/thread/7e5e08d0-2ef3-4858-b4cf-c73541edc178
>
>I have tried to change UNION => UNION ALL, the performance has improved from 4 mins to 1 min ++
>But still far from 2 secs (with UNION, but witout additional field from tableB)

Have you tried adding NOEXPAND hint? Also, what is the WHERE condition and which table fields in the WHERE belong to?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform