Re: Diagnosing a massive toast file

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Diagnosing a massive toast file
Дата
Msg-id 6018.1565023741@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Diagnosing a massive toast file  (Wells Oliver <wells.oliver@gmail.com>)
Ответы Re: Diagnosing a massive toast file  (Wells Oliver <wells.oliver@gmail.com>)
Список pgsql-admin
Wells Oliver <wells.oliver@gmail.com> writes:
> Yeah, trying to figure out what actual table is clearly in need of a vacuum
> b/c of the size of that toast table.

Something like

select relname from pg_class
where reltoastrelid = 'pg_toast.pg_toast_NNN'::regclass;

(or, if you have potential duplicate relnames, select oid::regclass ...)

The mere fact that it's big does not indicate a problem, though.

            regards, tom lane



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

Предыдущее
От: Wells Oliver
Дата:
Сообщение: Re: Diagnosing a massive toast file
Следующее
От: Wells Oliver
Дата:
Сообщение: Re: Diagnosing a massive toast file