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 1jzKzy-0004Ww-I9 for pgsql-general@arkaria.postgresql.org; Sat, 25 Jul 2020 14:18:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jzKzx-0001bz-BO for pgsql-general@arkaria.postgresql.org; Sat, 25 Jul 2020 14:18:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jzKzx-0001ab-36 for pgsql-general@lists.postgresql.org; Sat, 25 Jul 2020 14:18:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jzKzt-0007Am-K9 for pgsql-general@lists.postgresql.org; Sat, 25 Jul 2020 14:18:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 06PEHoOI671969; Sat, 25 Jul 2020 10:17:50 -0400 From: Tom Lane To: David Rowley cc: Andres Freund , Scott Ribe , PostgreSQL General Subject: Re: bad JIT decision In-reply-to: References: <7736C40E-6DB5-4E7A-8FE3-4B2AB8E22793@elevated-dev.com> <629715.1595630222@sss.pgh.pa.us> Comments: In-reply-to David Rowley message dated "Sat, 25 Jul 2020 18:58:39 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <671967.1595686669.1@sss.pgh.pa.us> Date: Sat, 25 Jul 2020 10:17:50 -0400 Message-ID: <671968.1595686670@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk David Rowley writes: > On Sat, 25 Jul 2020 at 10:42, David Rowley wrote: >> I think plan cost overestimation is a common cause of unwanted jit too. >> It would be good to see the EXPLAIN ANALYZE so we knew if that was the >> case here. > So Scott did send me the full EXPLAIN ANALYZE for this privately. He > wishes to keep the full output private. So ... what was the *top* line, ie total cost estimate? regards, tom lane