Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3273

Re: Table variables performance

$
0
0

There is a bit of a difference between how work tables are handled (spills from proc cache) and #temp table reads.   Remember, for example, that a #temp table can leverage cached data quite effectively and for physical reads, it can use a configured large IO pool.

 

I think that some types of work tables (e.g. those used by sorts) that spill to disk only do physical reads.....I may be wrong on that - but I have seen some anecdotal evidence with create index that suggests this is the case.....


Viewing all articles
Browse latest Browse all 3273

Trending Articles



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