Monitoring Database Storage in Python

Python applications can obtain database page statistics with the Connection class method getStats() which returns values for properties FreePages, TotalPages and DbPageSize. Also, the Connection methods getClassStats() and getIndexStat() return the class and index statistics.

Persistent Databases

Python applications can obtain information about database storage on persistent media with the Connection class method getStats() which returns values for properties DataFileSize, LogFileSize and UsedDatabaseSize.