[22기_변호영] 성능최적화 미션 제출합니다.#63
Open
Hoyoung027 wants to merge 1 commit intoCEOS-Developers:Hoyoung027from
Open
Conversation
danaggero
reviewed
Nov 17, 2025
| public void applyCoupon(...) { | ||
| couponRepository.save(...); // 여기서 예외 → 이 부분만 롤백 | ||
| } | ||
| ``` |
| - 인덱스 내부에서는 정의된 column 순서대로 정렬 | ||
| - 여러 column을 동시에 검색하거나 조건으로 사용할 때 유용함 | ||
| - 인덱스 커버링 가능 (쿼리가 사용하는 column이 모두 compostie index에 포함될 경우 테이블 데이터를 보지 않고 인덱스 차원에서 결과 반환 가능) | ||
| - 인덱스 크기가 커질 수 있고, 순서에 따라 활용도가 달라질 수 있음 No newline at end of file |
|
예시 코드와 함께 언제 주로 사용되는지 상세하게 적어주셔서 이해하기 쉬웠습니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
저희집 고양이의 급작스러운 수술 이슈로 쿼리 최적화가 완료되지 못했는데요, 다음주 세션 전까지 최대한 마무리하겠습니다.. ㅠㅠ