Skip to content

perf: 게시글 조회 시 filesort 제거를 위한 쿼리 튜닝#48

Merged
LEEJaeHyeok97 merged 61 commits intomainfrom
develop
Nov 22, 2025
Merged

perf: 게시글 조회 시 filesort 제거를 위한 쿼리 튜닝#48
LEEJaeHyeok97 merged 61 commits intomainfrom
develop

Conversation

@LEEJaeHyeok97
Copy link
Contributor

✨ 작업 개요

  • 게시글 스크롤 조회 시 id 값 기반으로 다음 값을 조회하는 환경에서
    적절한 인덱스를 찾지 못해 내부적으로 Using filesort를 수행하는 환경이었음.
    선행 칼럼에 is_completed를 쓰고 order by 에 id 값을 먼저 추가해 줌으로써
    filesort를 삭제할 수 있었음

📈 성능 변화

  • 평균 응답 시간: 0.09s -> 0.06s

@LEEJaeHyeok97 LEEJaeHyeok97 merged commit 2990572 into main Nov 22, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant