relstorage.adapters.stats – Stats implementations#
- class AbstractStats(connmanager, keep_history)#
- abstract get_db_size()#
Returns the approximate size of the database in bytes
Returns the approximate number of objects in the database
Call this when the database has changed substantially, and it would be a good time to perform any updates or optimizations.