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

Scan count VS logical Reads

$
0
0

I have two versions of a query.

1.  Scan count 136, logical reads 2776907,CPU time = 230848 ms,  elapsed time = 55753 ms.

2. Scan count 0, logical reads 89225788, CPU time = 437696 ms,  elapsed time = 46195 ms.

The only difference I can see is 2 query it taking lesser of 10 minutes. Which is good here?  Both Execution plan has lots of hash joins.


Srinivasan


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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