pyiron_base.maintenance.databaseperformance.get_database_statistics

pyiron_base.maintenance.databaseperformance.get_database_statistics#

pyiron_base.maintenance.databaseperformance.get_database_statistics() DataFrame[source]#

This function returns the statistics of pyiron postgres database in the form of a pandas dataframe. The dataframe includes: - total number of connection - number of connection categorized by their state - maximum age of a transaction - number of checkpoints and their interval - size of indices - pair of duplicate indices and their total size usage: >>> from pyiron_base.database.performance import get_database_statistics >>> get_database_statistics()