Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hWr7W-0006se-13 for pgsql-performance@arkaria.postgresql.org; Fri, 31 May 2019 23:39:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hWr6V-0007yz-Kq for pgsql-performance@arkaria.postgresql.org; Fri, 31 May 2019 23:38:31 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hWr6V-0007ys-7z for pgsql-performance@lists.postgresql.org; Fri, 31 May 2019 23:38:31 +0000 Received: from mail-io1-xd43.google.com ([2607:f8b0:4864:20::d43]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hWr6S-0002s5-2o for pgsql-performance@postgresql.org; Fri, 31 May 2019 23:38:30 +0000 Received: by mail-io1-xd43.google.com with SMTP id x24so9638970ion.5 for ; Fri, 31 May 2019 16:38:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=MClXCFoJcTl6kT0Hz9+FLuFCjC9UNTHBwexMFZiXcZs=; b=UjW5YVdb5HHDIVpW1gg8WrsVC+7YPnGWAGhesAiFP8SQkQ/NV6XhdjaQjZoAjK/ySP GVRZkzDeKVqjnoV+AO0+aXrUIXz6aBSgClYbu5kWIz5sDrXBtxrz/q0YV1BMrwkjV7z0 lSaWtKw7QSk+1xPVGyVMRsIlCg1/YOLLIaLAJZ82DzP12j2OjYEyZPnreMAhu6K+h1Ca MNFzFmUS6Z7GAK5jtYYM1j9GxmF9McRq6HErQfcAFgZ38ZjqjKJ5bIxQWVrM1rLoqtxG 6yxfMOk5qZyFMDPsTypb60/o2ausVI/LTKBYtfIISHOfej+siauLOumMy/lnadJi8Y5G mEpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=MClXCFoJcTl6kT0Hz9+FLuFCjC9UNTHBwexMFZiXcZs=; b=NMj1VNPcyiqzdQnOAAY08NYrmb7mPNbSAY/LFB8D7Y4Ggy8VJRSL3aS3bCrAcn+0No k+PvvaTSB4YCmxDilI8clLyJEQNyGpmuco5iQ0JVCZ5ouanp+as+xe1uppp433VuqzRg vr+jgWYvy/ax3aqzan5XxDA7Hsp/26hOXkoQTzKa2tC9dqn5oCQc66Pu5ur2q2g7BelZ QXDhKYP2JBgL1LzG5Xt/q3CC9kig7/zHl4kcOH2gxzbxprVc0oIrDWP87aYZbd8eWbqw K7fUJxtcBFEREHYH/ASCDYmLb3JO4Lh/8pNZlqWcqxxPrp77n3eohQjqUG45U3BasOb+ +7Vw== X-Gm-Message-State: APjAAAWza1Pdf52deP9/VIdTpQFdZ2wm2g78/UcnZzgei78gVFLKws3Q 9l/H4rgk8+A3rbNqjA6LLzNnjSmh8XE= X-Google-Smtp-Source: APXvYqwBO6SffQrgB7JOKWl44uKX8xeHqE7Y1LnkaBd8OXCzu7d8nuCrcmBvaZ+IiY5SjlMQRGfzdA== X-Received: by 2002:a05:6602:220d:: with SMTP id n13mr8772824ion.104.1559345905643; Fri, 31 May 2019 16:38:25 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id u133sm1622531itf.13.2019.05.31.16.38.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 May 2019 16:38:24 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id 212BD8007F5; Fri, 31 May 2019 18:38:23 -0500 (CDT) Date: Fri, 31 May 2019 18:38:23 -0500 From: Justin Pryzby To: Andreas Joseph Krogh Cc: Tobias Gierke , Andres Freund , PostgreSQL mailing lists Subject: Re: Sv: JIT in PostgreSQL 12 ? Message-ID: <20190531233822.GR27382@telsasoft.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, May 29, 2019 at 10:48:19AM +0200, Andreas Joseph Krogh wrote: > På onsdag 29. mai 2019 kl. 10:02:50, skrev Tobias Gierke > Hi, > > Browsing the PostgreSQL 12 release notes I noticed that JIT is now > enabled by default. Having not followed PostgreSQL development closely - > does this mean that compilation results are now getting cached and > compilation is no longer executed separately for each worker thread in a > parallel query ? Thanks for starting the conversation. > I don't know, but just want to chime in with my experience > with PG-12 and JIT: Execution-time is still way worse then JIT=off for your > queries so we'll turn JIT=off until we can mesure performance-gain. That's also been my consistent experience and conclusion. I gather the presumption has been that JIT will be enabled by default.. ..but perhaps this is a "Decision to Recheck Mid-Beta" (?) Justin