Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fTpIv-00058z-M4 for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jun 2018 14:02:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fTpIu-0003Bm-EQ for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Jun 2018 14:02:16 +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.89) (envelope-from ) id 1fTpIu-0003Bd-78 for pgsql-hackers@lists.postgresql.org; Fri, 15 Jun 2018 14:02:16 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fTpIr-0007t4-69 for pgsql-hackers@lists.postgresql.org; Fri, 15 Jun 2018 14:02:15 +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 w5FE25In023132; Fri, 15 Jun 2018 10:02:05 -0400 From: Tom Lane To: Andrew Dunstan cc: David Rowley , Amit Langote , Dmitry Dolgov <9erthalion6@gmail.com>, Jeff Janes , Ashutosh Bapat , Pavel Stehule , PostgreSQL Hackers Subject: Re: why partition pruning doesn't work? In-reply-to: References: <569483c5-a273-6537-1b5d-7a271ce439fb@lab.ntt.co.jp> <22805.1528386192@sss.pgh.pa.us> <21787.1528428171@sss.pgh.pa.us> <6366.1528571895@sss.pgh.pa.us> <12624.1528578026@sss.pgh.pa.us> <26279.1528670981@sss.pgh.pa.us> <17850.1528755844@sss.pgh.pa.us> Comments: In-reply-to Andrew Dunstan message dated "Fri, 15 Jun 2018 09:58:16 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <23130.1529071325.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Fri, 15 Jun 2018 10:02:05 -0400 Message-ID: <23131.1529071325@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andrew Dunstan writes: > OK, lousyjack is back online with this, new and improved. It currently > takes 7.5 hours for a run.  Should I also add -DCATCACHE_FORCE_RELEASE? I did some experimentation yesterday with valgrind plus both RELCACHE_FORCE_RELEASE and CATCACHE_FORCE_RELEASE. I didn't find any new bugs, but adding CATCACHE_FORCE_RELEASE makes things quite a lot slower :-(. Not sure it's worth it. regards, tom lane