ZODB.Architecture.DB.cacheSize

Documentation
Return the sum of the cache sizes for all connections.
Returns
PyIntthe number of objects in the cache, including active and inactive objects