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

Slow Query List #319

Open
9 tasks
SeonghaeJo opened this issue Jan 12, 2025 · 1 comment
Open
9 tasks

Slow Query List #319

SeonghaeJo opened this issue Jan 12, 2025 · 1 comment

Comments

@SeonghaeJo
Copy link
Contributor

SeonghaeJo commented Jan 12, 2025

  1. planSummary: COLLSCAN인 slow query만 작성했습니다.
  2. 각 항목은 collection / filter를 나타냅니다.
  3. 인덱스를 추가해서 해결했거나, 해결이 불가능하다고 생각되는 경우 체크해주세요.
  • bookmarks / lectures, semester, year
  • coursebooks / -
  • lectureBuilding / buildingNumber
  • popup / -
  • users / credential.appleSub, active
  • users / email
  • users / credential.googleSub, active
  • users / email, isEmailVerified, active
  • users / credential.kakaoSub, active
@SeonghaeJo
Copy link
Contributor Author

planSummary: IXSCAN인 슬로우 쿼리는 대부분이 강의 검색할 때 {year, semester} 인덱스만 사용해서 느린 것들인 것 같습니다.
이외에는 credentialHash 인덱스만 이용하는데 filter는 credentialHash, active로 찾는 쿼리 정도 있는 것 같습니다.

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

No branches or pull requests

1 participant