Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1arXGu-0005tT-Dy for pgsql-committers@arkaria.postgresql.org; Sat, 16 Apr 2016 20:56:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1arXGt-000849-VX for pgsql-committers@arkaria.postgresql.org; Sat, 16 Apr 2016 20:56:52 +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 1arXGg-0007ax-Tk for pgsql-committers@postgresql.org; Sat, 16 Apr 2016 20:56:38 +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 1arXGd-00059y-Ms for pgsql-committers@postgresql.org; Sat, 16 Apr 2016 20:56:38 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 58FEB20C4A for ; Sat, 16 Apr 2016 16:56:32 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Sat, 16 Apr 2016 16:56:32 -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=Dc5g5/TRwacAO05OhJ3RqDxpmp0=; b=HGJqI MswG5Mqw769PSp0/0UnXZ8UGz/SsC65MviKJt8kVJb0Ge4EK+h+15renzea+fjxt Lo/xApeYPB01x42EoTTjFjp3dTIuFHlM7UJ7QyBgwpKjm+SZwQXp1Wtx/ZfHUgUH OPeJthXAXVSibog3eB9t0HaRn9Mt9OTWV+LRz0= X-Sasl-enc: u+OK4JEoyr+5nmlhAKD/JfsT+mLa5Mw8vt0tUwjyDlwG 1460840191 Received: from intern.anarazel.de (unknown [192.77.237.104]) by mail.messagingengine.com (Postfix) with ESMTPA id E55876800BE; Sat, 16 Apr 2016 16:56:31 -0400 (EDT) Date: Sat, 16 Apr 2016 13:56:30 -0700 From: Andres Freund To: Noah Misch Cc: Kevin Grittner , Robert Haas , Kevin Grittner , "pgsql-hackers@postgresql.org" , "pgsql-committers@postgresql.org" Subject: Re: [HACKERS] Re: pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold < Message-ID: <20160416205630.puxsglckxi3sn5ec@alap3.anarazel.de> References: <20160412192801.wffn2vjyszyw4qa4@alap3.anarazel.de> <20160413171955.i53me46fqqhdlztq@alap3.anarazel.de> <20160413192110.fogwesjti3kxycnu@alap3.anarazel.de> <20160413200148.bawmwjdmggbllhha@alap3.anarazel.de> <20160416204452.GA1910190@tornado.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160416204452.GA1910190@tornado.leadboat.com> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 2016-04-16 16:44:52 -0400, Noah Misch wrote: > That is more controversial than the potential ~2% regression for > old_snapshot_threshold=-1. Alvaro[2] and Robert[3] are okay releasing > that way, and Andres[4] is not. FWIW, I could be kinda convinced that it's temporarily ok, if there'd be a clear proposal on the table how to solve the scalability issue around MaintainOldSnapshotTimeMapping(). Postponing the optimization around something as trivial as a spinlock around reading an LSN is one thing, postponing something we don't know the solution to is anohter. Andres -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers