Re: \d+ not showing TOAST table size? - Mailing list pgsql-general

From Jon Nelson
Subject Re: \d+ not showing TOAST table size?
Date
Msg-id CAKuK5J1ckv-a1O1_ihTfkkyviRSEh86h8UTXwfZJ2dEFDAsKJA@mail.gmail.com
Whole thread Raw
In response to Re: \d+ not showing TOAST table size?  (Josh Kupershmidt <schmiddy@gmail.com>)
List pgsql-general
On Tue, Sep 20, 2011 at 2:09 PM, Josh Kupershmidt <schmiddy@gmail.com> wrote:
> On Tue, Sep 20, 2011 at 1:26 PM, Jon Nelson <jnelson+pgsql@jamponi.net> wrote:
>> 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).
>
> I assume by "\d+" you meant "\dt+" (\d+ doesn't show sizes at all). On
> version 9.0 and up, \dt+ uses pg_relation_size() internally, which
> actually does include TOAST data as this comment in dbsize.c explains:

I meant "\d+".  I'm using 9.0.3 and "\d+" clearly shows sizes.
Per Tom Lane's comments later in the thread, the behavior of 9.0 (and
prior) matches my recollection. I just need to wait for 9.1.

Thanks!

--
Jon

pgsql-general by date:

Previous
From: patrick keshishian
Date:
Subject: Re: Dynamic constraint names in ALTER TABLE
Next
From: Dmitriy Igrishin
Date:
Subject: Millions of largeobjects the production databases.