[ZODB-Dev] [patch] bsddb3Storage base.py getSize

Joseph Wayne Norton norton@alum.mit.edu
Wed, 31 Oct 2001 09:32:41 +0900


I have posted a patch on sourceforge at the following url:

  http://sourceforge.net/tracker/?atid=315628&group_id=15628&func=browse

that implements a getSize for the bsddb3Storages using cachestat. The
pack method refreshes the cache upon completion ... hopefully,
reducing some of the overhead of this calculation. It might even make
sense to cache the getSize return value as well to minimize calls to
the log_archive method.

Any recommendations or feedback are welcome.

regards,

- joe n.