Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XMN66-0003If-RP for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Aug 2014 20:12:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XMN66-0006KI-Bj for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Aug 2014 20:12:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XMN65-0006KA-23 for pgsql-hackers@postgresql.org; Tue, 26 Aug 2014 20:12:05 +0000 Received: from mail-pa0-f42.google.com ([209.85.220.42]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XMN61-0006l4-Jg for pgsql-hackers@postgresql.org; Tue, 26 Aug 2014 20:12:04 +0000 Received: by mail-pa0-f42.google.com with SMTP id lf10so24293913pab.1 for ; Tue, 26 Aug 2014 13:11: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=yGgzo+IPcGWYKpFPBIPJgZsxtxoXwULBJlHgdNLUEPo=; b=Ybs24GsFKlDfcFq/NgHm2rsEcKN90tswUP9/Cdxg5PtPVK5EgvNqlMiK/DAJGvb2rE nGg3aE35/UgalR0Ho1MDAuTWFz5p+euvSwB5VJp0oZdrAD6z8k9DHq9Y+5lb+Qa77CbJ ElTVBza1qx1XxA60U1aYNSODvW15U06anENJ4AX0wND1/Ie0AYMh0JljqmZM1ColVW2u /e6n2bzFylOUvWrRvdGwOpyHqw9jBoqOUo1GaSTPRH2IY6zqVXRcLB1OjZ5IQi/Msywd KrB3pIqpeNyHbtVtlPuqBSuS+CbBpYWvNxkiOUyLApwM68/oJ1+yr7YkjUiuYQoquaLC FTBQ== X-Gm-Message-State: ALoCoQkvwy2YIfzRxvqFT4jfROl6jg/LSz9O+3oRqhbodBc0xhlREjIdbkGvhDACAwQlZjNFmPN9 X-Received: by 10.68.65.101 with SMTP id w5mr35945967pbs.5.1409083918183; Tue, 26 Aug 2014 13:11: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 s8sm6180172pdj.54.2014.08.26.13.11.56 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 26 Aug 2014 13:11:57 -0700 (PDT) Message-ID: <1409083927.2335.401.camel@jeff-desktop> Subject: Re: Proposal for CSN based snapshots From: Jeff Davis To: Greg Stark Cc: Heikki Linnakangas , Robert Haas , Andres Freund , Alvaro Herrera , Bruce Momjian , Rajeev rastogi , Ants Aasma , PostgreSQL-development , Markus Wanner Date: Tue, 26 Aug 2014 13:12:07 -0700 In-Reply-To: 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> <1409081570.2335.391.camel@jeff-desktop> 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 21:00 +0100, Greg Stark wrote: > Well fundamentally the reason the visibility information is with the > user data is so that we don't need to do two i/os to access the data. > The whole point of hint bits is to guarantee that after some amount of > time you can read data directly out of the heap page and use it > without doing any additional I/O. If the data is that static, then the visibility information would be highly compressible, and surely in shared_buffers already. (Yes, it would need to be pinned, which has a cost.) 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