-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
sql: update slow query document #922
Conversation
|
||
admin show slow recent N | ||
admin show slow top [internal | all] N | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For code blocks, we use 3 backticks both before and after the code block. To keep it consistent and easy to identify (for display improvement later), please update all code blocks in this PR. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
sql/slow-query.md
Outdated
`top N` 则显示最近一段时间(大约几天)内,最慢的查询记录。 | ||
如果指定 `internal` 选项,则返回查询系统内部 SQL 的慢查询记录; | ||
如果指定 `all` 选项,返回系统内部和用户 SQL 汇总以后的慢查询记录; | ||
默认只返回用户 SQL 中的慢查询记录。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not manually break a line in the body text. Please update line 103~106.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fix pingcap/docs#647
PTAL @lilin90