Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 12890

Performance - reading the query cost

$
0
0

Which of these three represent the most efficient query?  I'm wondering if the smallest plan in bytes is the best plan.  Also, are eager spools expensive or inexpensive, and is a smaller sub-tree cost better than a larger sub-tree cost?  The first plan is 48 bytes and the second is 160 bytes.   Both return the same records.  project is smaller than architecture but architecture comes from a different database.

Scenario One

Scenario Two


R, J


Viewing all articles
Browse latest Browse all 12890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>