code: def get_config_database_info(self):
          
  
          max_size = self.config_database.data_size
          max_entries = self.config_database.max_entries()
          used_size = self.config_database.data_index
          used_entries = len(self.config_database.entries)
          invalid_size = sum(x.data_space() for x in self.config_database.entries if not x.valid)
          invalid_entries = sum(1 for x in self.config_database.entries if not x.valid)
  
          return [max_size, used_size, invalid_size, used_entries, invalid_entries, max_entries, 0]
docs: Get memory usage and space statistics on the config database.