--- src/main/java/itn/let/mjo/msgdata/service/impl/MjonMsgDataServiceImpl.java
+++ src/main/java/itn/let/mjo/msgdata/service/impl/MjonMsgDataServiceImpl.java
... | ... | @@ -4190,18 +4190,14 @@ |
| 4190 | 4190 |
// int instCnt = mjonMsgDataDAO.insertMsgDataInfo_jdbc_advc(mjonMsgSendVOList); |
| 4191 | 4191 |
|
| 4192 | 4192 |
// Batch 시작 시간 측정 |
| 4193 |
- long insetStartTime = System.currentTimeMillis(); |
|
| 4194 | 4193 |
// 총 발송 건수 = DB insert |
| 4195 | 4194 |
// int instCnt = 0; |
| 4196 | 4195 |
int instCnt = this.insertMsgData_advc(mjonMsgSendVOList); |
| 4197 | 4196 |
|
| 4198 | 4197 |
// Batch 종료 시간 측정 및 실행 시간 계산 |
| 4199 |
- long insetEndTime = System.currentTimeMillis(); |
|
| 4200 |
- double insetExecutionTimeInSeconds = (insetEndTime - insetStartTime) / 1000.0; |
|
| 4201 | 4198 |
|
| 4202 | 4199 |
// 수신거부 목록 |
| 4203 | 4200 |
returnMap.put("resultSts", instCnt);
|
| 4204 |
- returnMap.put("msg insert seconds", insetExecutionTimeInSeconds);
|
|
| 4205 | 4201 |
|
| 4206 | 4202 |
log.debug("총 단가 합계: [{}]", mjonMsgVO.getTotPrice());
|
| 4207 | 4203 |
//TODO: group 테이블에 저장 |
... | ... | @@ -4273,7 +4269,7 @@ |
| 4273 | 4269 |
long totalStartTime = System.currentTimeMillis(); |
| 4274 | 4270 |
|
| 4275 | 4271 |
int totalSize = mjonMsgSendVOList.size(); // 총 데이터 개수 |
| 4276 |
- int batchSize = 50000; // Batch 크기 설정 (고정값) |
|
| 4272 |
+ int batchSize = 10000; // Batch 크기 설정 (고정값) |
|
| 4277 | 4273 |
|
| 4278 | 4274 |
log.info("총 데이터 개수 :: [{}] ", totalSize);
|
| 4279 | 4275 |
log.info("설정된 Batch 크기 :: [{}] ", batchSize);
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?