Open fmgently opened 4 years ago
If you select a longer period in the history then the Top activity is less spikey, but still misleading.
Hi!
I ran pgbench against a postgres database for 10 minutes.
So, you have spikes (duration of 10 minutes) between launches. It's working well, as expected.
Thanks, Alex.
Agreed that it seems to be recording data properly. But I am having a very hard time convincing clients and co-workers that the data is correct. The visual graphs are misleading.
The expectation is that the visual graphs will remain consistent as you drill in or change the time span.
The lack of consistent visual representation of the same data leads the casual viewer to believe the data is also inconsistent.
The expectation is that a 10 minute solid chart in an hour view should also be shown as a solid 10 minute chart in a 10 minute view.
When my clients viewed the first image I attached their immediate response was to ask why the system was peaking and then going to zero.
It was not. But the chart indicates it was.
I understand that actual data is grabbed only once a second (and then averaged over a period?) but the expectation is that graphs / charts will blur the actual sampling interval and portray a continual trend.
Hi!
The expectation is that a 10 minute solid chart in an hour view should also be shown as a solid 10 minute chart in a 10 minute view.
Because the data in History module appeared using 15 seconds aggregation interval. So this is why you see spikes every 15 seconds in 10 minute view.
(and then averaged over a period?) 1 second, 15 seconds and 1 minute
expectation is that graphs / charts will blur the actual sampling interval and portray a continual trend
It depends on data
https://github.com/akardapolov/ASH-Viewer/issues/31#issuecomment-584864800
In this case (you right) we need to interpolate data
Thanks, Alex.
I ran pgbench against a postgres database for 10 minutes. If I then later go back and view the history data, the "Top Activity" shown below does not present a solid chart, instead it shows a series of spikes. I then selected the area between 2 spikes and the "Top sql & sessions" display does contain data.
So I claim the data is properly retained, but not displayed correctly in the Top Activity chart. I will attach an image of a screen shot to illustrate the issue.