Re: pg_toast table growth out of control

Поиск
Список
Период
Сортировка
От Jeffrey W. Baker
Тема Re: pg_toast table growth out of control
Дата
Msg-id 1015878235.31858.17.camel@heat
обсуждение исходный текст
Ответ на Re: pg_toast table growth out of control  (John Gray <jgray@azuli.co.uk>)
Ответы Re: pg_toast table growth out of control  (Jan Wieck <janwieck@yahoo.com>)
Список pgsql-general
On Mon, 2002-03-11 at 12:18, John Gray wrote:
> On Mon, 2002-03-11 at 19:00, Jeffrey W. Baker wrote:
> > (resent -- mailing lists seem horked up today)
> >
> > I have a pg_toast table that is using up my entire storage device.  When
> > I vacuum the database, it does not get smaller.  This is driving me
> > crazy, since I have to dump and reload the data to shrink the database.
> >
>
> Are you using VACUUM FULL at all? AIUI, the current VACUUM will
> generally not truncate tables -in this respect, the TOAST table is like
> any other.
>
> I would suggest running VACUUM FULL VERBOSE resp_body; and see whether
> you get any different message. (this gets an exclusive lock on the
> table, so it will block operations on resp_body while it operates).

That isn't the problem ... the rest of my tables get truncated normally
but only this one which contains long objects grows.

In any case VACUUM FULL takes ages.  pg_dump + pg_restore is actually
faster.

-jwb


В списке pgsql-general по дате отправления:

Предыдущее
От: John Gray
Дата:
Сообщение: Re: pg_toast table growth out of control
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: Referential Integrity Triggers