-
Notifications
You must be signed in to change notification settings - Fork 701
include storage engines in slow query logs and statements summary #21155
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -467,6 +467,11 @@ Fields related to network traffic: | |
- `SUM_UNPACKED_BYTES_SENT_TIFLASH_CROSS_ZONE`: bytes sent from SQL statements to TiFlash across availability zones, including bytes sent between TiFlash nodes across availability zones. | ||
- `SUM_UNPACKED_BYTES_RECEIVED_TIFLASH_CROSS_ZONE`: bytes received by SQL statements from TiFlash across availability zones, including bytes received between TiFlash nodes across availability zones. | ||
|
||
Fields related to storage engines: | ||
|
||
- `STORAGE_KV`: Indicates whether the previous execution of SQL statements of this category read data from TiKV. | ||
- `STORAGE_MPP`: Indicates whether the previous execution of SQL statements of this category read data from TiFlash. | ||
Comment on lines
+470
to
+473
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This addition effectively documents the new storage engine fields in the statement summary tables. The structure with a heading and list, using backticks for field names, is consistent with the document's existing style and the style guide 12. The descriptions accurately reflect the purpose of these fields in the context of summary tables. Style Guide ReferencesFootnotes |
||
|
||
### `statements_summary_evicted` fields description | ||
|
||
- `BEGIN_TIME`: Records the starting time. | ||
|
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.
This new section clearly documents the added fields related to storage engines. The formatting with a heading and list, using backticks for field names, aligns well with the style guide 12.
Style Guide References
Footnotes
Use sentence case for headings and backticks for code snippets, command names, options, and paths. (link) ↩
Add a blank line before and after headings and lists. (link) ↩