void deleteStorageUsageForPartition(String clustername, String hostname, int partitionId) throws SQLException {
    try (Connection connection = dataSource.getConnection()) {
      try (PreparedStatement deleteStatement = connection.prepareStatement(deletePartitionSql)) {
        long startTimeMs = System.currentTimeMillis();
        deleteStatement.setString(1, clustername);
        deleteStatement.setString(2, hostname);
        deleteStatement.setInt(3, partitionId);
        deleteStatement.executeUpdate();
        metrics.deleteTimeMs.update(System.currentTimeMillis() - startTimeMs);
        metrics.deleteSuccessCount.inc();
      }
    } catch (SQLException e) {
      metrics.deleteFailureCount.inc();
      logger.error("Failed to execute DELETE on {}, with parameter {}", ACCOUNT_REPORTS_TABLE, partitionId, e);
      throw e;
    }
  }
Delete container storage usage rows for given {@code clustername}, {@code hostname} and {@code partitionId}.
@param clustername The clustername
@param hostname The hostname
@param partitionId The partitionId
@throws SQLException
ambry-mysql/src/main/java/com/github/ambry/accountstats/AccountReportsDao.java