Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayqQM-0006Q1-IV for pgsql-committers@arkaria.postgresql.org; Sat, 07 May 2016 00:48:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ayqQM-0000qy-3d for pgsql-committers@arkaria.postgresql.org; Sat, 07 May 2016 00:48:50 +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 1ayqQL-0000qo-Lc for pgsql-committers@postgresql.org; Sat, 07 May 2016 00:48:49 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ayqQJ-0008Jk-BP for pgsql-committers@postgresql.org; Sat, 07 May 2016 00:48:49 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8D975206FC for ; Fri, 6 May 2016 20:48:45 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Fri, 06 May 2016 20:48:45 -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=yxT5BNiakEVqcGfqlzBO4YIo2Aw=; b=AbxYu wFThK/nn3S0m//VoddrPwc2YOtAhJ0bQNqic9WAK81hTdsAgMrVW/2OlPmfJH9v9 REnqwjBJJITyPeX5HV4a56x4b8mcRgtNDJ71bk21+uUO4iib3UP2+LR+KGkEYEv5 xug+rgYiqTsFgduG3INwc89cRjh/L5hMj2S+F4= X-Sasl-enc: 8997uE5cUzZ0MITw/+pVdmVTG7QFVpJPN3ZhKQLoyJ79 1462582125 Received: from intern.anarazel.de (unknown [192.77.237.104]) by mail.messagingengine.com (Postfix) with ESMTPA id 3117FC00013; Fri, 6 May 2016 20:48:45 -0400 (EDT) Date: Fri, 6 May 2016 17:48:44 -0700 From: Andres Freund To: Kevin Grittner Cc: Ants Aasma , Amit Kapila , Noah Misch , 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: <20160507004844.wbze4nhjqa67io2a@alap3.anarazel.de> References: <20160413200148.bawmwjdmggbllhha@alap3.anarazel.de> <20160416204452.GA1910190@tornado.leadboat.com> <20160416205630.puxsglckxi3sn5ec@alap3.anarazel.de> <171569342.34745.1461078735421@RIA> <20160506220728.bgyxet73t6s3hjiw@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-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 2016-05-06 19:43:24 -0500, Kevin Grittner wrote: > It's disappointing that I am not getting more consistent numbers, > but NUMA can be hard to manage that way. FWIW, in my experience, unless you disable autovacuum (or rather auto-analyze), the effects from non-predicable analyze runs with long-running snapshots are worse. I mean the numa effects suck, but in r/w workload effects of analyze are often much worse. That comment reminds me of a question I had: Did you consider the effect of this patch on analyze? It uses a snapshot, and by memory you've not built in a defense against analyze being cancelled. > Will push shortly with the nit-pick fixes you requested. Cool. Greetings, Andres Freund -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers