Re: Why is vacuum_freeze_min_age 100m?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Why is vacuum_freeze_min_age 100m?
Date: 2009-08-12 01:11:37
Message-ID: 603c8f070908111811y31a9f7c8v5e14a1f8ecaff2a9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

On Tue, Aug 11, 2009 at 6:06 PM, Josh Berkus<josh(at)agliodbs(dot)com> wrote:
>
>> I don't think that's the name of the parameter, since a Google search
>> gives zero hits.  There are so many fiddly parameters for this thing
>> that I don't want to speculate about which one you meant.
>
> Sorry, subject line had it correct.
>
> http://www.postgresql.org/docs/8.4/static/runtime-config-client.html#GUC-VACUUM-FREEZE-MIN-AGE

Ah. Yeah, I agree with Tom: how would it help to make this smaller?
It seems like that could possibly increase I/O, if the old data is
changing at all, but even if it doesn't it I don't see that it saves
you anything to freeze it sooner. Generally freezing is unnecessary
pain: if we had 128-bit transaction IDs, I'm guessing that we wouldn't
care about freezing or wraparound at all. (Of course that would
create other problems, which is why we don't, but the point is
freezing is at best a necessary evil.)

...Robert

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-08-12 01:19:36 Re: dependencies for generated header files
Previous Message Tom Lane 2009-08-12 01:10:06 Re: WIP: getting rid of the pg_database flat file

Browse pgsql-performance by date

  From Date Subject
Next Message Torsten Zühlsdorff 2009-08-12 06:48:45 Re: Why is vacuum_freeze_min_age 100m?
Previous Message Tom Lane 2009-08-12 00:54:44 Re: Why is vacuum_freeze_min_age 100m?