Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XMVhK-0007wa-3V for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Aug 2014 05:23:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XMVhI-0003RS-MA for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Aug 2014 05:23:04 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XMVhH-0003RH-0M for pgsql-hackers@postgresql.org; Wed, 27 Aug 2014 05:23:03 +0000 Received: from mail-pd0-f179.google.com ([209.85.192.179]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XMVhD-0008DC-UH for pgsql-hackers@postgresql.org; Wed, 27 Aug 2014 05:23:00 +0000 Received: by mail-pd0-f179.google.com with SMTP id v10so23809468pde.10 for ; Tue, 26 Aug 2014 22:22:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-type:mime-version:content-transfer-encoding; bh=87jOXTkT3bkTaMYnxAgcXumG0VmOG9EcucBhbfYAkxM=; b=I6G2DgRzOphEM1TPcNvXk+TLZVrJrN+he3c8LuOLD6KSaYW4qXTNPquJj94bR6FU8q RccZWFjXHvFaOE/NjGj5iUvaXuZ5y0CCXA01OINtFpT7hGU9/B8H2GWXvJeRxFXjQTxh x6bllBcVPcfpSiPsp0VHPfO6vp+Qdb4JnhQwRTXZjVou8ea7pwQwAcgP/wRTadnHsUNG Gd1ggEMt/PI764LDPnb/W0+3iTkOqFMSZDZ/0ob3jrNa0oPsXD0vq2nGx0emSZS0CMn1 n8JC0fGsa5jdGfUw8PoMg4QgpusNwBtUsRQrKjmnQzPE1MQvFbU40FvYGzFT4bIEmEZc 53wg== X-Gm-Message-State: ALoCoQnTkWqh0CHKiWGxQtvkTW/yGhs8faQwfDODMlgtFUcYpaNA8TOzwlP//mf9+tQjLVaSrLMW X-Received: by 10.68.69.7 with SMTP id a7mr12228887pbu.49.1409116978620; Tue, 26 Aug 2014 22:22:58 -0700 (PDT) Received: from [192.168.0.105] (c-69-181-249-16.hsd1.ca.comcast.net. [69.181.249.16]) by mx.google.com with ESMTPSA id t14sm5181734pbs.12.2014.08.26.22.22.57 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 26 Aug 2014 22:22:57 -0700 (PDT) Message-ID: <1409116988.2335.463.camel@jeff-desktop> Subject: Re: Proposal for CSN based snapshots From: Jeff Davis To: Heikki Linnakangas Cc: Greg Stark , Robert Haas , Andres Freund , Alvaro Herrera , Bruce Momjian , Rajeev rastogi , Ants Aasma , PostgreSQL-development , Markus Wanner Date: Tue, 26 Aug 2014 22:23:08 -0700 In-Reply-To: <53FC6545.7000501@vmware.com> References: <51B6C97B.1070000@bluegap.ch> <5370D323.1070606@vmware.com> <20140512144112.GB9619@awork2.anarazel.de> <5370E267.2020904@vmware.com> <20140515183436.GD25053@momjian.us> <20140515200632.GB16014@awork2.anarazel.de> <20140515213714.GB7857@eldon.alvh.no-ip.org> <53889CCB.7030005@vmware.com> <20140530152721.GC30516@awork2.anarazel.de> <5388D02D.6040305@vmware.com> <539AD153.9000004@vmware.com> <1409043789.2335.330.camel@jeff-desktop> <53FC6545.7000501@vmware.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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 Tue, 2014-08-26 at 13:45 +0300, Heikki Linnakangas wrote: > Yeah. This patch in the current state is likely much much slower than > unpatched master, except in extreme cases where you have thousands of > connections and short transactions so that without the patch, you spend > most of the time acquiring snapshots. What else are you looking to accomplish with this patch during this 'fest? Bug finding? Design review? Performance testing? I haven't had a good track record with my performance testing recently, so I'm unlikely to be much help there. It seems a bit early for bug hunting, unless you think it will raise possible design issues. I think there's already at least one design issue to consider, which is whether we care about CLOG/CSNLOG access for hinted records where the xid > snapshot->xmin (that is, accesses that previously would have looked at xip). Would more discussion help here or do we need to wait for performance numbers? Regards, Jeff Davis -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers