Python applications can obtain database page statistics with the Connection class method
getStats()which returns values for propertiesFreePages,TotalPagesandDbPageSize. Also, the Connection methodsgetClassStats()andgetIndexStat()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 propertiesDataFileSize,LogFileSizeandUsedDatabaseSize.