Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fg3TL-00087I-K9 for pgsql-general@arkaria.postgresql.org; Thu, 19 Jul 2018 07:35:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fg3TG-00057h-VA for pgsql-general@arkaria.postgresql.org; Thu, 19 Jul 2018 07:35:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fg3TG-00057Z-N8 for pgsql-general@lists.postgresql.org; Thu, 19 Jul 2018 07:35:30 +0000 Received: from mo20.mail-out.ovh.net ([178.32.228.20]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fg3TD-0007cB-Ec for pgsql-general@postgresql.org; Thu, 19 Jul 2018 07:35:30 +0000 Received: from EX2.emp.local (gw1.pro1.mail.ovh.net [79.137.0.65]) by mo20.mail-out.ovh.net (Postfix) with ESMTPS id A6C2847CAB; Thu, 19 Jul 2018 09:35:25 +0200 (CEST) Received: from DAG3EX3.emp.local (172.16.2.6) by EX2.emp.local (172.16.2.2) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1531.3; Thu, 19 Jul 2018 09:35:24 +0200 Received: from [192.168.27.142] (62.23.36.114) by DAG3EX3.emp.local (172.16.2.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1531.3; Thu, 19 Jul 2018 09:35:23 +0200 Subject: Re: Shared buffers increased but cache hit ratio is still 85% To: Hans Schou , pgsql-general References: From: Adrien NAYRAT Message-ID: <559d2702-e024-6e37-d5e2-e891a6f136ae@anayrat.info> Date: Thu, 19 Jul 2018 09:35:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [62.23.36.114] X-ClientProxiedBy: DAG3EX3.emp.local (172.16.2.6) To DAG3EX3.emp.local (172.16.2.6) X-Ovh-Tracer-Id: 4556798402139552444 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtiedrieefgdduvddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddm List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 07/18/2018 10:26 AM, Hans Schou wrote: > Am I doing something wrong or should some history be cleared? Hi, FIY, check_pgactivity save the diff between each call to compute the real hit ratio : https://github.com/OPMDG/check_pgactivity Regards,