Skip to content

[Chapter 08] Spring Data JPA #95

Discussion options

You must be logged in to vote

예전에 학습했던 JPA의 N+1 문제도 성능저하 예시중의 하나일 것 같습니다.
N+1 문제
실제로 제가 담당하는 MES에서는 JPA를 사용하는데 엄청나게 복잡한 쿼리 성능이 중요한 쿼리들은 @Query를 사용하거나 Mybatis를 사용해버리는 것으로 확인했습니다(조회가 엄청 많고 조회 성능이 중요한 서버에 한정)
이 방법은 뭔가 JPA내에서 기술적으로 풀어 나간 것은 아니지만 하나의 방법이 될 수도 있다고 생각합니다.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by coalong
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chapter08 데이터 영속성
3 participants