Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEiiu-00009m-Py for pgsql-performance@arkaria.postgresql.org; Tue, 14 Nov 2017 21:26:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eEiiu-0005xl-A8 for pgsql-performance@arkaria.postgresql.org; Tue, 14 Nov 2017 21:26:24 +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.84_2) (envelope-from ) id 1eEiit-0005wz-BQ for pgsql-performance@postgresql.org; Tue, 14 Nov 2017 21:26:23 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eEiip-0000uw-Az for pgsql-performance@postgresql.org; Tue, 14 Nov 2017 21:26:22 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 6C27B970D86A for ; Tue, 14 Nov 2017 14:26:16 -0700 (MST) Date: Tue, 14 Nov 2017 14:26:16 -0700 (MST) From: legrand legrand To: pgsql-performance@postgresql.org Message-ID: <1510694776440-0.post@n3.nabble.com> In-Reply-To: References: <252cab3895894337a3a88275f423fe0b@index.de> <4276.1510613373@sss.pgh.pa.us> Subject: Re: Query planner gaining the ability to replanning after start of query execution. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org As a first step, before relaunching the query with a new plan I would be happy to be able to get information about sql queries having wrong estimates. Maybe thoses SQL queries could be collected using something similar to "auto_explain" module (tracing finished or cancelled queries). If the "corrected plan" taking into account real cardinalities was proposed (with some advices on how to get it) it would be a great tuning adviser ;o) -- Sent from: http://www.postgresql-archive.org/PostgreSQL-performance-f2050081.html -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance