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

Adding a new Tab IO stats #486

Closed
Nele90 opened this issue Dec 19, 2022 · 6 comments
Closed

Adding a new Tab IO stats #486

Nele90 opened this issue Dec 19, 2022 · 6 comments

Comments

@Nele90
Copy link

Nele90 commented Dec 19, 2022

Hey David,

Is it possible to add new IO performance tab to server performance section to have more info like write and read latency per data file?
Also, on performance view when disk latency is >200ms I can't see it, please see below.

image

@DavidWiseman
Copy link
Collaborator

Hi,

Thanks for the suggestion. An IO performance tab might be useful. The app doesn't give you a way to see charts per drive/db/file over time. You can get per drive over time (select the drive filter) but you can't see all the drives together. Also, if you click this button you can get a summary view for the selected time period.

image

You can see the IO grouped by Database, file group, file or drive which might help narrow things down. You could also narrow the date range down to the period where you have high disk latencies - select Custom from the date filter at the top right of the app.

I think I set the scale of the chart to 200ms deliberately. Ideally disk latency should be single digit milliseconds. Above 20ms is poor. If the scale was adjusted for the max value it would flatten out some of the other peaks. Also you wouldn't be able to tell visually if the latency is poor by the position on the chart. e.g. A Value near the top of the chart isn't a problem if the scale of the chart is up to 10ms.

Note: I would also look at your wait stats. If you see PAGEIOLATCH or WRITELOG waits as your top wait types this provides some additional evidence of an IO bottleneck. You might see high disk latencies if you have cloud storage and have exceeded your limits. Snapshot style backups are also known to cause high disk latency as they freeze IO for a short period of time. High disk latencies might not be a huge problem if the volume of IO is small and you don't see IO related waits as your top wait types. You might also see higher disk latencies if you have maintenance operations running like DBCC checks - which might not be an issue if this is out of hours and they complete within your maintenance window.

Thanks,

David

@Nele90
Copy link
Author

Nele90 commented Dec 19, 2022

Thanks for your answer.
Ah now it make sense with summary view, this is what i need just to have more info.
Yes i realized that this latency was relate do C: drive. :-)
I played around with Grafana dashboard i created some view, but the problem with it is that I can't exec sp directly from Grafana instead I have to exec your procs and insert into some table and then take this data and feed dashboard, in theory I could make similar look as your app, however i'm not sure if it make sense as your app provide all info without changing anything. :-D

@SasaJ7
Copy link

SasaJ7 commented May 25, 2023

Understandable.

May I recommend one adjustment or change for line graphs?
How about to evaluate only the X cursor position within ling graph and provide relevant values popup instead of asking users to target lines to get that popup?

This would improve usability a lot.

Thanks

@DavidWiseman
Copy link
Collaborator

The tooltip behaviour is down to the charting control I use (Live-Charts) - I'm not sure if there is a way to fix it. I don't find it to be an issue to select the chart point to get the tooltip. It guess it might be harder depending on your display settings and input device (mouse is easier than a touchpad).
This issue isn't likely to get looked at by me, but there is an option for someone else to fix it and submit a pull request.
Note: At some point I might change to use version 2 of the control. I might also look at other charting components, but Live-Charts is very good as a free and open source charting component.

@DavidWiseman
Copy link
Collaborator

Improved in 2.43.0 🚀

@Nele90
Copy link
Author

Nele90 commented Jul 19, 2023

Thanks David for adding this. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants