Re: TOAST tables keeps growing! - Mailing list pgsql-admin

From Tom Lane
Subject Re: TOAST tables keeps growing!
Date
Msg-id 25925.1092423739@sss.pgh.pa.us
Whole thread Raw
In response to TOAST tables keeps growing!  ("Thomas Madsen" <tm@softcom.dk>)
List pgsql-admin
"Thomas Madsen" <tm@softcom.dk> writes:
>     What can I do to reclaim the wasted TOAST diskspace?

vacuum full might help.

>     Can I find and eliminate the lost TOAST tuples somehow?

Well, one thing to ask is whether it's the toast *table* that's
bloating, or the *index* on the toast table.  (VACUUM VERBOSE
would help you find out.)

If it's the table, then more frequent plain vacuums and/or increasing
FSM should fix it.  If the index is growing while the table stays
about the same, you could try periodic REINDEXes, but the only real
solution is to move up to PG 7.4.

            regards, tom lane

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: dynamic DB descriptions
Next
From: Tom Lane
Date:
Subject: Re: PG 7.2 varchar change