Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

performance : 그룹 상세조회 쿼리 개선 #456

Merged
merged 6 commits into from
May 29, 2024

Conversation

seokho-1116
Copy link
Collaborator

작업 내용 (Content)

  • 그룹 상세조회 쿼리 개선

링크 (Links)

기타 사항 (Etc)

  • 기존 쿼리에서는 조인 조건에 그룹 아이디와 비교가 있어서 테이블을 풀스캔함, 그룹의 권한 조회를 위한 추가 쿼리가 필요
    조인 조건이 아닌 where절로 그룹 아이디 비교하도록 이동, 그룹 상세조회시 가져온 리스트로 그룹권한 추출해 그룹 권한 조회 쿼리 제거

Merge 전 필요 작업 (Checklist before merge)

희망 리뷰 완료 일 (Expected due date)

@seokho-1116 seokho-1116 added the performance 성능 개선 label May 29, 2024
@seokho-1116 seokho-1116 self-assigned this May 29, 2024
Copy link
Collaborator

@GaBaljaintheroom GaBaljaintheroom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

join문 저렇게 사용하면 안 됬었네. 굿굿 더 좋아졌다.

@seokho-1116 seokho-1116 merged commit 3ef8116 into develop_back_core May 29, 2024
2 checks passed
@seokho-1116 seokho-1116 deleted the performance/group_detail-B-#455 branch June 1, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance 성능 개선
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants