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

SERVER-78124: add query count in getPlanCache list, this can help us to get the hot query sql. #1556

Open
wants to merge 2 commits into
base: v5.0
Choose a base branch
from

Conversation

y123456yz
Copy link
Contributor

@y123456yz y123456yz commented Jun 15, 2023

We have such a problem, When there are a lot of sql queries, some query have more than one candidate index,and have many slow log, maybe index problem, we don't know which index shold be priority optimize.

add the counters, we can get hot sql that have inde problem, this may be useful.

@y123456yz
Copy link
Contributor Author

@kelly-cs kelly-cs changed the title add query count in getPlanCache list, this can help us to get the hot query sql. SERVER-78124: add query count in getPlanCache list, this can help us to get the hot query sql. Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant