Skip to content

N+1 문제 해결#65

Merged
dev-Crayon merged 8 commits into
developfrom
feature/#64-nPlusOne
May 7, 2025
Merged

N+1 문제 해결#65
dev-Crayon merged 8 commits into
developfrom
feature/#64-nPlusOne

Conversation

@dev-Crayon

Copy link
Copy Markdown
Contributor

🐬 요약

기존의 JPA N+1 문제로 인한 쿼리 수를 최적화 했습니다.

👻 유형

PR의 유형에 맞게 체크해주세요!

  • 버그 수정
  • 기능 개발
  • 코드 스타일 수정 (formatting, local variables)
  • 리팩토링 (no functional changes, no api changes)
  • 빌드 관련 변경사항
  • CI 관련 변경사항
  • Release 관련 사항
  • 문서 내용 변경
  • 기타... (다음 줄에 사유를 입력해주세요)

🍀 작업 내용

PR에 담긴 작업 내용을 작성해주세요!

  • N+1 문제 해결

🌟 관련 이슈

PR과 관련된 이슈 번호를 작성해주세요!

close: #64

dev-Crayon added 3 commits May 2, 2025 19:17
fetch join으로 N번의 쿼리 발생 방지
쿼리수 비교를 위한 테스트코드 작성

Related to: #64
바뀐 fetch join 메서드로 로직 변경
테스트 코드 작성

Related to: #64
테스트 코드 변경

Related to: #64
@dev-Crayon dev-Crayon merged commit ffea10e into develop May 7, 2025
1 check passed
@dev-Crayon dev-Crayon deleted the feature/#64-nPlusOne branch May 7, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat] N+1 문제 해결을 위한 리팩토링

1 participant