\d+ not showing TOAST table size?

From: Jon Nelson <jnelson+pgsql(at)jamponi(dot)net>
To: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: \d+ not showing TOAST table size?
Date: 2011-09-20 17:26:57
Message-ID: CAKuK5J0s0CDSRjVax3PtG0Fh2jjwY5X9a25o-euL16sdMWDN=g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a table with a fair bit of TOAST data in it.
I noticed that \d+ does /not/ include that information (but
pg_total_relation_size does).
Is that intentional? It seems a bit misleading, insofar as "\d+" feels
like it is meant to be a rough indication of the table size, but if
90% of the data is in TOAST then the *real* data stored is much more
than displayed.

--
Jon

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2011-09-20 17:41:35 Re: upgrade postgres to 8.4.8, centos 5.3
Previous Message Tom Lane 2011-09-20 16:18:00 Re: extensions in 9.1