Changes between Version 45 and Version 46 of Dev/Technical/ZEO
- Timestamp:
- 04/12/10 09:29:53 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Dev/Technical/ZEO
v45 v46 24 24 Each DB Connection has a separate Picklecache. The Cache serves two purposes. It acts like a memo for unpickling. It also keeps recent objects in memory under the assumption that they may be used again. As already mentioned in §1.1, the size of the cache is the number of objects that can be cached, by default this number is 400. 25 25 === 2.2 Picklecache's strategy === 26 The least-recently used objects are booted out at transaction boundaries 26 The least-recently used objects are booted out at transaction boundaries. 27 27 === 2.3 How to change the Picklecache cache size === 28 28 The Picklecache's cache size can be changed through the method set_cachesize() of the database instance, and this can be done as follows (assuming one wants to set it to 800 obkects):
