Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jKCyj-00044t-Fb for pgsql-committers@arkaria.postgresql.org; Fri, 03 Apr 2020 03:26:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jKCyi-0007kj-BC for pgsql-committers@arkaria.postgresql.org; Fri, 03 Apr 2020 03:26:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jKCyi-0007kB-5r for pgsql-committers@lists.postgresql.org; Fri, 03 Apr 2020 03:26:44 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jKCye-0006gG-W9 for pgsql-committers@lists.postgresql.org; Fri, 03 Apr 2020 03:26:43 +0000 Received: from hnk.local (p2421237-ipbf2725funabasi.chiba.ocn.ne.jp [122.24.33.237]) by oss.nttdata.com (Postfix) with ESMTPSA id 85ED26039C; Fri, 3 Apr 2020 12:26:36 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.2 at oss.nttdata.com Subject: Re: pgsql: Include information on buffer usage during planning phase, in EX To: Michael Paquier , Fujii Masao Cc: pgsql-committers@lists.postgresql.org References: <20200403025751.GB1759@paquier.xyz> From: Fujii Masao Message-ID: <0fa34bc8-479e-61e8-94c0-9cdbc34ea0bb@oss.nttdata.com> Date: Fri, 3 Apr 2020 12:26:36 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200403025751.GB1759@paquier.xyz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020/04/03 11:58, Michael Paquier wrote: > Hi Fujii-san, > > On Fri, Apr 03, 2020 at 02:28:27AM +0000, Fujii Masao wrote: >> Include information on buffer usage during planning phase, in EXPLAIN output. >> >> When BUFFERS option is enabled, EXPLAIN command includes the information >> on buffer usage during each plan node, in its output. In addition to that, >> this commit makes EXPLAIN command include also the information on >> buffer usage during planning phase, in its output. This feature makes it >> easier to discern the cases where lots of buffer access happen during >> planning. > > prion did not like that: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prion&dt=2020-04-03%2002%3A33%3A13 > > Here is the diff from test explain: > @@ -73,8 +73,9 @@ > Seq Scan on int8_tbl i8 (cost=N.N..N.N rows=N width=N) (actual time=N.N..N.N rows=N loops=N) > Buffers: shared [read] > Planning Time: N.N ms > + Buffers: shared [read] > Execution Time: N.N ms > -(4 rows) > +(5 rows) > > Note that this animal uses -DRELCACHE_FORCE_RELEASE and > -DCATCACHE_FORCE_RELEASE. Thanks for reporting that! Since we're now developing very heavily because of the last CF, it's not good to keep the buildfarm red for a long time. So I just reverted the commit. Then I will consider how to address the issue. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION