Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJmsn-00026u-K9 for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 10 Jun 2017 20:21:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dJmsn-0004BS-3J for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 10 Jun 2017 20:21:17 +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 1dJmsi-00043W-ET for pgsql-pkg-debian@postgresql.org; Sat, 10 Jun 2017 20:21:12 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dJmsa-0005vH-Vr for pgsql-pkg-debian@postgresql.org; Sat, 10 Jun 2017 20:21:11 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1470:60c0:76e5:bff:fef3:7e00]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3wlVsp2xr4z3DwT; Sat, 10 Jun 2017 22:21:02 +0200 (CEST) Date: Sat, 10 Jun 2017 22:21:02 +0200 From: Christoph Berg To: Stefan Huehner Cc: 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: <20170610202102.vz5l4eudghktvwgj@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Stefan Huehner , pgsql-pkg-debian@postgresql.org, stefan.huehner@openbravo.com References: <20170610132747.GD11504@huehner.biz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170610132747.GD11504@huehner.biz> User-Agent: NeoMutt/20170113 (1.7.2) 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 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, I'm sorry for not properly announcing and documenting this recent change properly, we should put a note on the wiki page. 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. You seem to use the sid-pgdg packages for production data - is there a reason you are not using jessie-pgdg or stretch-pgdg? Christoph -- Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-debian