Re: abnormal data grow - Mailing list pgsql-general

From Tom Lane
Subject Re: abnormal data grow
Date
Msg-id 1790.1095784319@sss.pgh.pa.us
Whole thread Raw
In response to Re: abnormal data grow  (Reynard Hilman <reynardmh@lightsky.com>)
Responses Re: abnormal data grow  (Reynard Hilman <reynardmh@lightsky.com>)
List pgsql-general
Reynard Hilman <reynardmh@lightsky.com> writes:
> following Tom's advice, this query:
> select relname from pg_class where relfilenode = 25677563;
> returns pg_toast_25677561 which is the record in pg_class that has the biggest relpages, so that makes sense.

Okay, so you have a lot of wide (toasted) fields in whatever table that
toast table belongs to --- if you're not sure, try

select relname from pg_class where
reltoastrelid = (select oid from pg_class where relfilenode = 25677563);

VACUUM VERBOSE on that table would give some useful info.

            regards, tom lane

pgsql-general by date:

Previous
From: Pierre-Frédéric Caillaud
Date:
Subject: gist index woes
Next
From: "Shah, Sameer"
Date:
Subject: Oracle / Postgres Interface