Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hO30A-0002y7-7v for pgsql-hackers@arkaria.postgresql.org; Tue, 07 May 2019 16:31:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hO308-0007Bv-UZ for pgsql-hackers@arkaria.postgresql.org; Tue, 07 May 2019 16:31:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hO308-00079V-Gc for pgsql-hackers@lists.postgresql.org; Tue, 07 May 2019 16:31:32 +0000 Received: from xvm-110-146.dc2.ghst.net ([46.226.110.146] helo=fetter.org) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hO306-0007k8-5d for pgsql-hackers@postgresql.org; Tue, 07 May 2019 16:31:31 +0000 Received: by fetter.org (Postfix, from userid 1001) id 8C4E142BC6; Tue, 7 May 2019 18:31:29 +0200 (CEST) Date: Tue, 7 May 2019 18:31:29 +0200 From: David Fetter To: Rafia Sabih Cc: PostgreSQL Development Subject: Re: New EXPLAIN option: ALL Message-ID: <20190507163128.GL28936@fetter.org> References: <20190507073046.GI28936@fetter.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, May 07, 2019 at 11:03:23AM +0200, Rafia Sabih wrote: > On Tue, 7 May 2019 at 09:30, David Fetter wrote: > > > > Folks, > > > > It can get a little tedious turning on (or off) all the boolean > > options to EXPLAIN, so please find attached a shortcut. > > I don't understand this, do you mind explaining a bit may be with an > example on how you want it to work. If you're tuning a query interactively, it's a lot simpler to prepend, for example, EXPLAIN (ALL, FORMAT JSON) to it than to prepend something along the lines of EXPLAIN(ANALYZE, VERBOSE, COSTS, BUFFERS, SETTINGS, TIMING, SUMMARY, PARTRIDGE_IN_A_PEAR_TREE, FORMAT JSON) to it. Best, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate