[feature](query process) show more query process stats in show current_queries#62484
Open
yiguolei wants to merge 9 commits intoapache:masterfrom
Open
[feature](query process) show more query process stats in show current_queries#62484yiguolei wants to merge 9 commits intoapache:masterfrom
yiguolei wants to merge 9 commits intoapache:masterfrom
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
mysql> show proc "/current_queries" \G;
*************************** 1. row ***************************
QueryId: ad38a0b9e824336-9a60250515fe3c39
ConnectionId: 10
Catalog: internal
Database: clickbench
User: root
ExecTime: 2391
SqlHash: ba81c7d646d0c809fb152eaef954ca4a
Statement: SELECT h1.UserID, h2.SearchPhrase, COUNT() AS cnt, SUM(length(h1.URL)) AS total_url_len, AVG(h2.WindowClientWidth) AS avg_duration, NDV(h1.OriginalURL) AS unique_ip FROM hits h1 JOIN hits h2 ON h1.UserID = h2.UserID AND h1.EventDate != h2.EventDate AND h1.URL != h2.URL GROUP BY h1.UserID, h2.SearchPhrase HAVING COUNT() > 10 ORDER BY cnt DESC, total_url_len DESC LIMIT 1000
ScanRows: 24149849 Rows
ScanBytes: 3.54 GB
ReturnedRows: 0 Rows
CpuMs: -103927254
MaxPeakMemoryBytes: 9.38 GB
CurrentUsedMemoryBytes: 0.00
WorkloadGroupId: 0
ShuffleSendBytes: 0.00
ShuffleSendRows: 0 Rows
ScanBytesFromLocalStorage: 822.24 MB
ScanBytesFromRemoteStorage: 0.00
SpillWriteBytesToLocalStorage: 0.00
SpillReadBytesFromLocalStorage: 0.00
BytesWriteIntoCache: 0.00
1 row in set (0.01 sec)
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)