pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: *ukasz Brodziak <lukasz.brodziak@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Tuple changes from relfilenodes
Date: Tue, 31 Aug 2010 11:44:50 -0400 (EDT)
Message-ID: <201008311544.o7VFioj00972@momjian.us> (raw)
In-Reply-To: <4C77A7E40200002500034D33@gw.wicourts.gov>

Kevin Grittner wrote:
> *ukasz Brodziak<lukasz.brodziak@hotmail.com> wrote:
> > From: Kevin.Grittner@wicourts.gov
>  
> >> Are you looking for statistics or the actual prior versions of
> >> rows?
>  
> > I'm looking for actual versions of row data. What I want to
> > achieve as a final result is a kind of data change history.
>  
> Well, unless you are suppressing the vacuum behavior which normally
> occurs, your history won't go back very far; and if you do suppress
> vacuums, performance will begin to fall of fairly quickly.
>  
> Tuples representing old versions of rows may be eliminated as soon
> as there is no transaction which would still be able to see them.

Well, single-page vacuums are even more likely to remove old data, and
you can't turn that off.  I am working on am MVCC talk for PG/West that
will show how agressive those single-page (HOT and non-HOT) vacuums are.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +



view thread (12+ messages)

Message-ID: <201008311544.o7VFioj00972@momjian.us>
Permalink:  ../201008311544.o7VFioj00972@momjian.us/
Also on:    postgresql.org/message-id/201008311544.o7VFioj00972@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: bruce@momjian.us, Kevin.Grittner@wicourts.gov, lukasz.brodziak@hotmail.com
  Subject: Re: Tuple changes from relfilenodes
  In-Reply-To: <201008311544.o7VFioj00972@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox