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

feat: add time to show processlist for the session elapsed how many seconds #8236

Merged
merged 2 commits into from
Oct 15, 2022

Conversation

BohuTANG
Copy link
Member

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

Summary about this PR:
Add new column time to show how many seconds of the session elapsed

mysql> show processlist\G;
*************************** 1. row ***************************
                      id: c1152483-de11-4375-bfe3-a35ad2ae9311
                    type: MySQL
                    host: 127.0.0.1:57636
                    user: root
                   state: Query
                database: default
              extra_info: select sum(number) from numbers(10000000000000)
            memory_usage: 0
  dal_metrics_read_bytes: 0
 dal_metrics_write_bytes: 0
 scan_progress_read_rows: 9663540000
scan_progress_read_bytes: 77308320000
     mysql_connection_id: 9
                    time: 42

Fixes #7664

@vercel
Copy link

vercel bot commented Oct 15, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Oct 15, 2022 at 7:53AM (UTC)

@mergify mergify bot added the pr-feature this PR introduces a new feature to the codebase label Oct 15, 2022
@BohuTANG BohuTANG marked this pull request as ready for review October 15, 2022 08:12
@BohuTANG BohuTANG requested a review from flaneur2020 October 15, 2022 08:12
@BohuTANG BohuTANG merged commit 926c439 into databendlabs:main Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-feature this PR introduces a new feature to the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: add Time to show processlist
1 participant