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

[제안] Indexing 에 따른 DB 쿼리속도 테스트 #1

Open
ohahohah opened this issue Sep 3, 2021 · 1 comment
Open

[제안] Indexing 에 따른 DB 쿼리속도 테스트 #1

ohahohah opened this issue Sep 3, 2021 · 1 comment

Comments

@ohahohah
Copy link

ohahohah commented Sep 3, 2021

일반적인 DB 쿼리 속도 테스트는 explain 또는 별도 프로파일러를 사용해요~
지금 설계처럼 API 로 테스트했을 때 쿼리 속도 외에 네트워트 속도 등의 영향을 받을 수 있어요. 이 경우에는 일정한 네트워크 속도가 나오고 DB 쿼리 외에 영향을 줄 수 있는 병목지점이 따로 없다는 가정이 있어야하는 등등 여러가지 요인들이 고정되어있어야합니다.
그래서 쿼리 속도 개선 테스트를 해보고 싶다면 아래 방법이 훨씬 더 일반적입니다.

https://blog.ull.im/engineering/2019/04/05/mongodb-indexing-strategy.html

@ohahohah
Copy link
Author

ohahohah commented Sep 3, 2021

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