Skip to content

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
Development

Successfully merging this pull request may close these issues.

1 participant