Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Cache Data page

$
0
0

eg.

set @id=10

select * from table1 where id >=@id and  id < 20

first time , engine will search data cache and finally pull data from disk .

2nd time

set @id=10

select * from table1 where id >=@id and  id < 20

no will fetch from data cache.

2nd time

set @id=5

select * from table1 where id >=@id and  id < 20

now engine will use same execution plan but how they will use data cache?


Viewing all articles
Browse latest Browse all 15889

Trending Articles



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