[ZODB-Dev] how to estimate cache size

Adam GROSZER agroszer at gmail.com
Fri Jan 15 07:39:02 EST 2010


Hello,

There are some methods in PickleCache
That might be good for object count:
* __len__
* ringlen
which might be better to get the number of objects in the cache?

Is there any chance to estimate the current cache size in bytes?

Also I guess I need to add all connection's picklecache's object count
to get the total of objects in the cache, right?


-- 
Best regards,
 Adam GROSZER                          mailto:agroszer at gmail.com
--
Quote of the day:
"Instead of crying over spilt milk, go milk another cow."



More information about the ZODB-Dev mailing list