relstorage.adapters.postgresql.stats – Stats implementations

Stats implementations

class PostgreSQLStats(connmanager, keep_history)[source]

Bases: relstorage.adapters.stats.AbstractStats

get_db_size()[source]

Returns the approximate size of the database in bytes

large_database_change()[source]

Call this when the database has changed substantially, and it would be a good time to perform any updates or optimizations.