Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJpcS-0001P4-Br for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 10 Jun 2017 23:16:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dJpcR-0006Ts-Eu for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 10 Jun 2017 23:16:35 +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 1dJpcM-0006Lg-OJ for pgsql-pkg-debian@postgresql.org; Sat, 10 Jun 2017 23:16:30 +0000 Received: from mx.huehner.biz ([52.29.210.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dJpcJ-0006H1-Fs for pgsql-pkg-debian@postgresql.org; Sat, 10 Jun 2017 23:16:29 +0000 Received: from huehner.biz (huehner.biz [52.28.21.226]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.huehner.biz (Postfix) with ESMTPSA id 89AB767BB8; Sat, 10 Jun 2017 23:16:29 +0000 (UTC) Received: by huehner.biz (Postfix, from userid 1001) id 3EECF612D6; Sat, 10 Jun 2017 23:15:21 +0000 (UTC) Date: Sat, 10 Jun 2017 23:15:21 +0000 From: Stefan Huehner To: Christoph Berg , pgsql-pkg-debian@postgresql.org, stefan.huehner@openbravo.com Subject: Re: pgsql 9.3 for debian/sid in pgdg repo has asserts enabled causing big performance issues Message-ID: <20170610231521.GE11504@huehner.biz> References: <20170610132747.GD11504@huehner.biz> <20170610202102.vz5l4eudghktvwgj@msg.df7cb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170610202102.vz5l4eudghktvwgj@msg.df7cb.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org On Sat, Jun 10, 2017 at 10:21:02PM +0200, Christoph Berg wrote: > Re: Stefan Huehner 2017-06-10 <20170610132747.GD11504@huehner.biz> > > In short: > > The following part from latest changelog: > > * debian/rules: Add stub to enable cassert builds (disabled by default). > > > > does not work in practice as in debian/rules file the > > > > #CASSERT_FLAGS := --enable-cassert > > > > line is not commented out as it should have been. > > > > That causes severe peformance issues at least in our use-case of batch-inserting lots of data with runtime going from ca. 1min to >=6min. > > Hi, thanks for the fast reply Christoph, > > I'm sorry for not properly announcing and documenting this recent > change properly, we should put a note on the wiki page. > Yes, please, mqaybe even news entry in the package? As at least for our use-case that makes the sid-pgdg completely unusable here. As that overhead is not just small percentage but like factor 5-10 slower. > What's happening is that in git the line is indeed commented out, but > then the apt.postgresql.org build scripts will activate the line when > building for sid-pgdg (which is the whole point why that stub logic > got introduced). The idea is that one of the distributions on > apt.postgresql.org should have cassert enabled so the testsuites > exercise more test cases, for the server packages as well as for > extension packages. As sid is Debian's development branch, it made > sense to enable cassert there. >