code: public static DBStatistics getStatistics(PersistenceManager pm) {
      	DBTracer.logCall(ZooJdoHelper.class, pm); 
  		Session s = (Session) pm.getDataStoreConnection().getNativeConnection();
  		return new DBStatistics(s);
  	}
docs: Get access to the statistics API of ZooDB.
  @param pm The PersistenceManager
  @return the statistics manager