🎫 Jira 티켓 번호
HOTSPOT-297
📄 설명
Job1: 사용량 집계 및 연산 (Partitioning & Chunk) (설계 완료)
Step1: 대상자 선정 및 WeeklyReport row INSERT (Chunk)
- Reader
ReportTarget 테이블 순회하며 receive_day = 오늘 요일 인 sub_id 전부 추출
- Processor
WeeklyReport 생성 Dto로 변환
subId, weekStartDate, weekEndDate, createdDate, status = PENDING
(subId, weekStartDate) Unique Key 도입해서 Skip or Upsert
- Writer
WeeklyReport 에 Batch INSERT / UPSERT
⇒ Chunk (500 ~ 1000)
⇒ Partition (8 ~ 16)
✅ 작업할 내용
🙋🏻 참고 자료
No response
🎫 Jira 티켓 번호
HOTSPOT-297
📄 설명
Job1: 사용량 집계 및 연산 (Partitioning & Chunk) (설계 완료)
Step1: 대상자 선정 및
WeeklyReportrowINSERT(Chunk)ReportTarget테이블 순회하며receive_day = 오늘 요일인 sub_id 전부 추출WeeklyReport생성 Dto로 변환subId, weekStartDate, weekEndDate, createdDate, status = PENDING(subId, weekStartDate)Unique Key도입해서 Skip or UpsertWeeklyReport에Batch INSERT / UPSERT⇒ Chunk (500 ~ 1000)
⇒ Partition (8 ~ 16)
✅ 작업할 내용
🙋🏻 참고 자료
No response