[ZODB-Dev] how to estimate cache size

2010-01-15 Thread Adam GROSZER
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:agros...@gmail.com
--
Quote of the day:
Instead of crying over spilt milk, go milk another cow.

___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] how to estimate cache size

2010-01-15 Thread Adam GROSZER
Yay! The answer to my object count question lies in zc.z3monitor.

But what about cache size in bytes?

Friday, January 15, 2010, 1:39:02 PM, you wrote:

AG Hello,

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

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

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




-- 
Best regards,
 Adam GROSZERmailto:agros...@gmail.com
--
Quote of the day:
Swipple's Rule of Order: He who shouts the loudest has the floor.

___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev