Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ej4HZ-0004iG-Ps for pgsql-performance@arkaria.postgresql.org; Tue, 06 Feb 2018 14:31:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ej4HX-0002FT-Kj for pgsql-performance@arkaria.postgresql.org; Tue, 06 Feb 2018 14:31:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ej4HX-0002F4-Aa for pgsql-performance@lists.postgresql.org; Tue, 06 Feb 2018 14:31:35 +0000 Received: from hz1.yz.to ([178.63.61.147]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ej4HU-0005OS-0H for pgsql-performance@lists.postgresql.org; Tue, 06 Feb 2018 14:31:34 +0000 Received: from [172.17.6.34] (unknown [146.0.121.193]) by hz1.yz.to (Postfix) with ESMTPSA id 2ED38846E160 for ; Tue, 6 Feb 2018 15:31:28 +0100 (CET) Subject: Details after Load Peak was: OT: Performance of VM To: pgsql-performance@lists.postgresql.org References: <3bc54eb3-135d-692c-47e2-208189a350d7@thomas-guettler.de> <91fec1f8-d11d-2413-6b57-5310ab0e3b8a@a-kretschmer.de> From: =?UTF-8?Q?Thomas_G=c3=bcttler?= Message-ID: Date: Tue, 6 Feb 2018 15:31:27 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <91fec1f8-d11d-2413-6b57-5310ab0e3b8a@a-kretschmer.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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? Regards, Thomas Güttler -- Thomas Guettler http://www.thomas-guettler.de/ I am looking for feedback: https://github.com/guettli/programming-guidelines