private HostAccountStorageStatsWrapper queryHostAccountStorageStatsBySimplifiedHostName(String queryHostname)
      throws SQLException {
    long startTimeMs = System.currentTimeMillis();
    HostAccountStorageStats hostAccountStorageStats = new HostAccountStorageStats();
    AtomicLong timestamp = new AtomicLong(0);
    accountReportsDao.queryStorageUsageForHost(clusterName, queryHostname,
        (partitionId, accountId, containerStats, updatedAtMs) -> {
          hostAccountStorageStats.addContainerStorageStats(partitionId, accountId, containerStats);
          timestamp.set(Math.max(timestamp.get(), updatedAtMs));
        });

    storeMetrics.queryStatsTimeMs.update(System.currentTimeMillis() - startTimeMs);
    return new HostAccountStorageStatsWrapper(
        new StatsHeader(StatsHeader.StatsDescription.STORED_DATA_SIZE, timestamp.get(),
            hostAccountStorageStats.getStorageStats().size(), hostAccountStorageStats.getStorageStats().size(), null),
        hostAccountStorageStats);
  }
Query mysql database to get all the container storage usage for given {@code clusterName} and {@code queryHostname} and
construct a {@link HostAccountStorageStatsWrapper} from them
@param queryHostname The simplified hostname to query.
@return {@link HostAccountStorageStatsWrapper} published by the given simplified hostname.
@throws SQLException
ambry-mysql/src/main/java/com/github/ambry/accountstats/AccountStatsMySqlStore.java