-
-
Notifications
You must be signed in to change notification settings - Fork 507
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Simplify SHOW THREADS columns #1394
Comments
As discussed on a call with Alexey, the specifics is that once a thread starts a new job we do not have access to the information about the previous job. It's only available if the thread is idling after processing a job. The thread uptime is mostly useful for VIP threads, for others it should be equal to the instance uptime. Provided that, the updated proposal is:
A few more simplification ideas:
ExamplesNow:
Suggested:
|
➤ Aleksey N. Vinogradov commented: suffix '(prev)' will make this column string-typed. |
➤ Aleksey N. Vinogradov commented: Also, 'Time' column is quite useful when also cpustat is in game. Then you will see also cpu time, and thread efficiency columns. They were all on the screen, but was hidden as 'useless'. Now (without them) simple 'Time' also looks 'useless', but on removing, cpu time and thread efficiency will also became 'useless'. |
I think this is a reasonable tradeoff.
Good point! Let it be
Right. I forgot about it. I suggest to rename So the corrected list of suggested actions is:
|
@PavelShilin89 please test that the change has been made as specified and update the docs if required (make a PR). |
CLT tests done in #1509 |
All done. |
As discussed in Slack, let's simplify and make less confusing the
SHOW THREADS
column names:Time/Work time
=>Thread uptime
- thread uptime with no conditions.Time/Work time
=>Current job duration
- how long the current job has been running. When the thread is idling --
.Last job took
=>Previous job duration
- how long the previous job took. When there was no previous job --
.In idle: No (working)
->Thread status
:working
,idling
The text was updated successfully, but these errors were encountered: