Data Cache
The data cacheThere is also a data cache for each database. The cache contains items of the Sitecore class ItemInformation, which also is more or less the item data pulled from the database. The cache is populated whenever they are requested. The data is pulled from the prefetch cache, if it present there; else it is pulled out of the database, put into the prefetch cache and into then the data cache.
The purpose of this cache is to minimize the amount of requests to the database. This is extremely important for performance, as requesting items from the database is rather expensive.
You can specify the maximum size of the data cache in the web.config. You can either alter the DefaultDataCacheSize setting:< setting name = "Caching.DefaultDataCacheSize" value="10MB" />
Or you can set it per database in the /databases/database section:
< cacheSizes hint = "setting">
< data > 20MB</data>
< items > 10MB</items>
< paths > 500KB</paths>
< standardValues > 500KB</standardValues>
</ cacheSizes >
Here you can set the size of the data element to whatever you like.
The purpose of this cache is to minimize the amount of requests to the database. This is extremely important for performance, as requesting items from the database is rather expensive.
You can specify the maximum size of the data cache in the web.config. You can either alter the DefaultDataCacheSize setting:< setting name = "Caching.DefaultDataCacheSize" value="10MB" />
Or you can set it per database in the /databases/database section:
< cacheSizes hint = "setting">
< data > 20MB</data>
< items > 10MB</items>
< paths > 500KB</paths>
< standardValues > 500KB</standardValues>
</ cacheSizes >
Here you can set the size of the data element to whatever you like.