void updateMonth(String clusterName, String monthValue) throws SQLException {
    try (Connection connection = dataSource.getConnection()) {
      try (PreparedStatement insertStatement = connection.prepareStatement(insertMonthSql)) {
        long startTimeMs = System.currentTimeMillis();
        insertStatement.setString(1, clusterName);
        insertStatement.setString(2, monthValue);
        insertStatement.setString(3, monthValue);
        insertStatement.executeUpdate();
        metrics.writeTimeMs.update(System.currentTimeMillis() - startTimeMs);
        metrics.writeSuccessCount.inc();
      }
    } catch (SQLException e) {
      metrics.writeFailureCount.inc();
      logger.error(
          String.format("Failed to execute updated on %s, with parameter %s %s", AGGREGATED_ACCOUNT_REPORTS_MONTH_TABLE,
              clusterName, monthValue), e);
      throw e;
    }
  }
Update the month value in table {@link #AGGREGATED_ACCOUNT_REPORTS_MONTH_TABLE}.
@param clusterName the clusterName.
@param monthValue the month value in string format, like "2020-01".
@throws SQLException
ambry-mysql/src/main/java/com/github/ambry/accountstats/AggregatedAccountReportsDao.java