Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWNiO-0005VJ-NZ for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Jan 2017 13:34:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cWNiO-0001pQ-AV for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Jan 2017 13:34:20 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cWNgy-0000Fz-RW for pgsql-hackers@postgresql.org; Wed, 25 Jan 2017 13:32:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cWNgw-0000XP-6O for pgsql-hackers@postgresql.org; Wed, 25 Jan 2017 13:32:51 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v0PDWmvH005996; Wed, 25 Jan 2017 08:32:48 -0500 From: Tom Lane To: Ashutosh Bapat cc: Jeevan Chalke , PostgreSQL Hackers Subject: Re: Substantial bloat in postgres_fdw regression test runtime In-reply-to: References: <16565.1478104765@sss.pgh.pa.us> Comments: In-reply-to Ashutosh Bapat message dated "Wed, 25 Jan 2017 17:29:54 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5994.1485351168.1@sss.pgh.pa.us> Date: Wed, 25 Jan 2017 08:32:48 -0500 Message-ID: <5995.1485351168@sss.pgh.pa.us> X-Pg-Spam-Score: -5.1 (-----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Ashutosh Bapat writes: > On Thu, Nov 3, 2016 at 1:58 PM, Jeevan Chalke > wrote: >> Attached patch with test-case modification. > I verified that this patch indeed bring the time down to 2 to 3 > seconds from 10 seconds. Thanks for working on this, guys. > The additional condition t2.c2 = 6 seems to echo the filter t2.c2 = 6 > of aggregate. We wouldn't know which of those actually worked. I > modified the testcase to use t2.c2 % 6 = 0 instead and keep the filter > condition intact. This increases the execution time by .2s, which may > be ok. Let me know what you thing of the attached patch. Agreed, that seems like a good compromise. Pushed that way. > Also, please add this to the commitfest, so that it isn't forgotten. No need. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers