You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
쿼리 횟수를 최소화할 수 있도록 최적화를 진행해보려고 합니다. (모든 도메인 동시 검토 예정)
배경 / 문제점 (선택)
DB 쿼리는 애플리케이션 서버와 DB 서버 간의 네트워크 IO, 직렬화/역직렬화 등의 오버헤드를 수반합니다. 따라서 일반적으로 쿼리의 수를 최소화하는 것이 처리 성능 측면에서 유리합니다. 현재 코드는 반복문 안에서 repository를 호출하는 등, DB 접근 최적화를 고려하지 않은 부분이 많습니다.
Activity