Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqMII-00038d-C0 for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Apr 2016 15:01:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aqMIH-0007DP-UY for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Apr 2016 15:01:25 +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 1aqMIF-00077F-Ua for pgsql-hackers@postgresql.org; Wed, 13 Apr 2016 15:01:23 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aqMIB-0001as-Tl for pgsql-hackers@postgresql.org; Wed, 13 Apr 2016 15:01:23 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id A8B4121459 for ; Wed, 13 Apr 2016 11:01:18 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Wed, 13 Apr 2016 11:01:18 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=2muYkDjKzOD1leoe1vLQbUAPu54=; b=GV+0b 9h9MQ9ZPzBE/xwRz7x7jc4zULi+zr7VobKB3wNwViU5w9No0sTEN0CkxHNzv9QlI WD4dzomBA96TNvcVGMihPx7mkDJeZ7MFIQXZd9ty3IAvUQ3slCL14xXKesOYF1U6 EEL2/yyVvQi/KaO4rmSU8/trPyVjEqyH61GpDw= X-Sasl-enc: nNw1oq+y2NV4W9jkSfbE8g0ZrhRVgUGtrzEWhWgdkx2G 1460559678 Received: from intern.anarazel.de (unknown [192.77.237.104]) by mail.messagingengine.com (Postfix) with ESMTPA id 35A34680290; Wed, 13 Apr 2016 11:01:17 -0400 (EDT) Date: Wed, 13 Apr 2016 08:01:16 -0700 From: Andres Freund To: Robert Haas Cc: Alvaro Herrera , Noah Misch , Kevin Grittner , Kevin Grittner , "pgsql-hackers@postgresql.org" Subject: Re: Re: [COMMITTERS] pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold < Message-ID: <20160413150116.ixitwrmpdc2shcfy@alap3.anarazel.de> References: <20160412185625.g7ixnlpwaqvsqt7v@alap3.anarazel.de> <20160413025214.GA954515@alvherre.pgsql> <20160413030530.dfldqhmtojo222c4@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -2.6 (--) 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 On 2016-04-13 08:36:47 -0400, Robert Haas wrote: > I think that a significant performance regression which affects people > not using snapshot_too_old would be a stop-ship issue, but I disagree > that an issue which only affects people using the feature is a > must-fix. It may be desirable to fix it, but I don't think we should > regard it as a hard requirement. It's reasonable to fix some kinds of > issues after feature freeze, but not at the price of accepting > arbitrary amounts of new code that may have problems of its own. > Every release will have some warts. My problem with that is that snapshot-too-old is essentially a efficiency feature for busy and large databases. Regressing noticeably when it's enabled in it's natural habitat seems sad. > Of course, the real fly in the ointment here is what we're going to do > with the atomics once we have them. But AFAICS, there's no patch for > that, yet. I don't think that I wish to take a position on whether a > patch that hasn't been written yet should be applied. So I think the > next step is that you should post the patches that you think should be > applied in final form and those should be reviewed by knowledgeable > people. Then, based on those reviews, the RMT can decide what to do. Well, I'm less likely to write a patch when there's no chance that it's going to be applied. Which the rest of the thread sounds like... Greetings, Andres Freund -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers