Wells Oliver <wells(dot)oliver(at)gmail(dot)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