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 1k8fXh-00076p-2N for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Aug 2020 08:03:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k8fXg-00035D-1J for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Aug 2020 08:03:24 +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 1k8fXf-000356-F3 for pgsql-hackers@lists.postgresql.org; Thu, 20 Aug 2020 08:03:23 +0000 Received: from mail.dalibo.com ([212.85.157.172]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8fXb-0006o4-3j for pgsql-hackers@lists.postgresql.org; Thu, 20 Aug 2020 08:03:22 +0000 Received: from [192.168.0.10] (91-165-40-181.subs.proxad.net [91.165.40.181]) by mail.dalibo.com (Postfix) with ESMTPSA id 70B2722850 for ; Thu, 20 Aug 2020 10:03:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dalibo.com; s=a; t=1597910593; bh=nz5APZsqhanSvE8LYGkzyLT4DgO0jwYrdVUAsmPcK3k=; h=Subject:To:References:From:Date:In-Reply-To:From; b=KenvdOBNsOA81hcOt/jiI9BP3Y1gd/CKQ3lO0+kibVbXbBesdmu4VIouMHCHsd8FE C9mAG2kCKimtDwNt4zz0tzDzbBZu+BhUW0luHAXWRj9rEdPki3zeV5EFb3by3EA+WU /GX5sBgmrHz0PqoaUDk5T0VoOvsbjkd/FeSTmbGc= Subject: Re: [PG13] Planning (time + buffers) data structure in explain plan (format text) To: pgsql-hackers@lists.postgresql.org References: <07b226e6-fa49-687f-b110-b7c37572f69e@dalibo.com> <20200819032706.GQ17022@telsasoft.com> <20200819072133.jnmtux7qbyxywh6r@nol> <20200819090429.s7hoyyw4a6jumgkc@nol> <5605ac79-90c0-6a5f-256d-5cabf52a3fe8@oss.nttdata.com> From: Pierre Giraud Message-ID: <2fd56df7-ec7f-5c8a-0268-33be181438e9@dalibo.com> Date: Thu, 20 Aug 2020 10:03:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <5605ac79-90c0-6a5f-256d-5cabf52a3fe8@oss.nttdata.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Can you please show what the plan would look like for? =# explain (buffers on, summary on, format JSON) select * from t; Le 20/08/2020 à 09:58, Fujii Masao a écrit : > > > On 2020/08/20 13:00, David Rowley wrote: >> On Thu, 20 Aug 2020 at 03:31, Fujii Masao >> wrote: >>> With the patch, for example, whatever "summary" settng is, "buffers on" >>> displays the planner's buffer usage if it happens. >> >> I forgot to mention earlier, you'll also need to remove the part in >> the docs that mentions BUFFERS requires ANALYZE. > > Thanks for the review! I removed that. > Attached is the updated version of the patch. > I also added the regression test performing "explain (buffers on)" > without "analyze" option. > > Regards, >