Re: Details after Load Peak was: OT: Performance of VM - Mailing list pgsql-performance

From Gunnar \"Nick\" Bluth
Subject Re: Details after Load Peak was: OT: Performance of VM
Date
Msg-id 5faea40d-66db-9c23-0256-4e37de1e0d6b@pro-open.de
Whole thread Raw
In response to Details after Load Peak was: OT: Performance of VM  (Thomas Güttler <guettliml@thomas-guettler.de>)
Responses Re: Details after Load Peak was: OT: Performance of VM
List pgsql-performance
Am 06.02.2018 um 15:31 schrieb Thomas Güttler:
>
>
> Am 05.02.2018 um 14:26 schrieb Andreas Kretschmer:
>>
>>
>> Am 05.02.2018 um 14:14 schrieb Thomas Güttler:
>>> What do you suggest to get some reliable figures?
>>
>> sar is often recommended, see
>> https://blog.2ndquadrant.com/in-the-defense-of-sar/.
>>
>> Can you exclude other reasons like vacuum / vacuum freeze?
>
> In the current case it was a problem in the hypervisor.
>
> But I want to be prepared for the next time.
>
> The tool sar looks good. This way I can generate a chart where I can see
> peaks. Nice.
>
> .... But one thing is still unclear. Imagine I see a peak in the chart.
> The peak
> was some hours ago. AFAIK sar has only the aggregated numbers.
>
> But I need to know details if I want to answer the question "Why?". The
> peak
> has gone and ps/top/iotop don't help me anymore.
>
> Any idea?

I love atop (atoptool.nl) for exactly that kind of situation. It will
save a snapshot every 10 minutes by default, which you can then simply
"scroll" back to. Helped me pinpointing nightly issues countless times.

Only really available for Linux though (in case you're on *BSD).

Best regards,
--
Gunnar "Nick" Bluth
RHCE/SCLA

Mobil +49 172 8853339
Email: gunnar.bluth@pro-open.de
_____________________________________________________________
In 1984 mainstream users were choosing VMS over UNIX.
Ten years later they are choosing Windows over UNIX.
What part of that message aren't you getting? - Tom Payne



Attachment

pgsql-performance by date:

Previous
From: Hellmuth Vargas
Date:
Subject: Re: Efficiently searching for the most recent rows where a columnmatches any result from a different query
Next
From: Micky Gough
Date:
Subject: Re: Details after Load Peak was: OT: Performance of VM