Skip to content

Refactor/schedule insert#116

Open
0sunset0 wants to merge 9 commits intodevfrom
refactor/schedule_insert
Open

Refactor/schedule insert#116
0sunset0 wants to merge 9 commits intodevfrom
refactor/schedule_insert

Conversation

@0sunset0
Copy link
Collaborator

@0sunset0 0sunset0 commented Feb 28, 2026

📌 관련 이슈

close: #

💻 작업 내용

  • 스케줄 생성 방식을 on fly way 방식에서 일관 생성으로 변경하면서 기존 스케줄러 삭제

  • 가짜 데이터를 만들어서 반환하는 코드 제거

  • 배치 인서트 청크 처리 (청트 단위는 500)

- MySQL PreparedStatement 파라미터 한계 (65,535개) 대비 충분한 여유
- 네트워크 패킷 크기 기준 한 청크당 약 26KB (64MB 제한 대비 안전)
- INSERT 성능 벤치마크상 500~1,000이 성능 곡선의 무릎 지점
- 약쏙 최대 데이터(~1,100행) 기준 2~3번 왕복으로 예측 가능
  • 클로드 코드 활용 시작~! md 파일 추가했어요!

🗒️ 병합 전 중요 사항

  1. 종료일 없음 복약 데이터 → 올해 말까지 스케줄 생성해서 DB 반영
  2. 아직 안끝난 루틴, 예정된 루틴 데이터 밀어넣기

@0sunset0 0sunset0 self-assigned this Feb 28, 2026
@0sunset0 0sunset0 added the refactor 리팩토링 label Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant