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

Improve the cost time information display in slow log detail #809

Closed
crazycs520 opened this issue Nov 24, 2020 · 1 comment
Closed

Improve the cost time information display in slow log detail #809

crazycs520 opened this issue Nov 24, 2020 · 1 comment

Comments

@crazycs520
Copy link
Collaborator

crazycs520 commented Nov 24, 2020

Bug Report

Please answer these questions before submitting your issue. Thanks!

What did you do?

Currently, the cost time information display is such as below:

image

The problem is it is hard to understand the relationship of so many durations, maybe we can format such as a tree to easy find out the parent-child relationship:

Currently, the relationship is as below:

Query_time
    Parse_time
    Compile_time:
        Rewrite_time:
            Process_subquery_time:
        Optimize_time:
    Wait_TS:
    Cop_time:
        Cop_Process_time:
        Cop_Wait_time: 
    Lock_keys_time:
    Local_latch_wait_time:
    Backoff_time:
    Prewrite_time:
    Wait_prewrite_binlog_time:
    Get_Commit_TS:
    Commit_time:
    Commit_backoff_time
    Resolve_lock_time:
Write_Response_time:
Retry_exec_time:

What version of TiDB Dashboard are you using (./tidb-dashboard --version)?

▶ bin/tidb-dashboard --version
Internal Version:  nightly
Git Commit Hash:   d03c863267595253c2c39c4007849a4baf63ab0f
UTC Build Time:    2020-11-23 09:57:50
@baurine
Copy link
Collaborator

baurine commented Dec 16, 2020

fixed by #810 , so we can close it.

@baurine baurine closed this as completed Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants