Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚀 개요
브리핑 목록 조회 쿼리를 튜닝했습니다.
732ms → 215ms → 60ms
⏳ 작업 내용
선행
개발 DB에 약 5년치 데이터를 INSERT 했습니다. (briefing 약 11만건, scrap 테이블 약 13만건)
초기 쿼리
서브 쿼리로 집계 변경
복합 인덱스 추가
📝 논의사항
그.. 멀티모듈 분리한 이후에 쿼리로그가 잘 안찍히고, spotless 등 설정이 잘 적용이 안되는 것 같은데 검토 한 번 부탁드립니당 @CYY1007
자세한 설명은 회의때 해드리겠습니다