Re: TOAST behavior in 8.3 and 8.4

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Lewis Kapell" <lkapell(at)setonhome(dot)org>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: TOAST behavior in 8.3 and 8.4
Date: 2010-04-13 19:37:29
Message-ID: 4BC481A902000025000307F9@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Lewis Kapell <lkapell(at)setonhome(dot)org> wrote:

> In tuptoaster.h, just above the declaration of
> TOAST_TUPLES_PER_PAGE, there is a comment which begins: "while
> these can be modified without initdb..."
>
> Does this mean that if I reduce the value of TOAST_TUPLE_THRESHOLD
> and rebuild, I can use an existing database cluster without having
> to run initdb again?

Yes, but it's *possible* that some table which would now seem to
qualify for a toast table, based on the new threshold, would not yet
have one. That would be benign; it just wouldn't be able to toast
values for that table unless you recreated it. You can check
pg_class to find out which tables currently have toast tables.

-Kevin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Samuel Stearns 2010-04-14 00:41:22 More than 1 pg_database Entry for Database - Thread #2
Previous Message Lewis Kapell 2010-04-13 19:27:14 Re: TOAST behavior in 8.3 and 8.4