Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIK7e-0005Kw-GW for pgsql-general@arkaria.postgresql.org; Fri, 24 Nov 2017 19:58:50 +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 1eIK7d-0004Ue-Ri for pgsql-general@arkaria.postgresql.org; Fri, 24 Nov 2017 19:58:49 +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 1eIK7d-0004UV-HL for pgsql-general@lists.postgresql.org; Fri, 24 Nov 2017 19:58:49 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eIK7W-0008Ug-SN for pgsql-general@lists.postgresql.org; Fri, 24 Nov 2017 19:58:48 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id vAOJwXl20365 for ; Fri, 24 Nov 2017 11:58:34 -0800 Subject: Re: How clear the cache on postgresql? To: pgsql-general@lists.postgresql.org References: From: John R Pierce Message-ID: <7fbbcc3d-695b-c864-314e-ca95e631b888@hogranch.com> Date: Fri, 24 Nov 2017 11:58:28 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/24/2017 11:43 AM, Michael Nolan wrote: > There are so many different levels of caching going on--within > Postgresql, within the OS, within a disk array or SAN, and at the > individual drive--that there may no longer be a meaningful way to > perform this measurement. generally, power cycling the server will flush all the hardware caches AND the OS cache. -- john r pierce, recycling bits in santa cruz