Re: \d+ not showing TOAST table size?

Поиск
Список
Период
Сортировка
От Jon Nelson
Тема Re: \d+ not showing TOAST table size?
Дата
Msg-id CAKuK5J1ckv-a1O1_ihTfkkyviRSEh86h8UTXwfZJ2dEFDAsKJA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: \d+ not showing TOAST table size?  (Josh Kupershmidt <schmiddy@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: patrick keshishian
Дата:
Сообщение: Re: Dynamic constraint names in ALTER TABLE
Следующее
От: Dmitriy Igrishin
Дата:
Сообщение: Millions of largeobjects the production databases.