Re: \dt+ sizes don't include TOAST data

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: \dt+ sizes don't include TOAST data
Дата
Msg-id 4B58EFDA.7060904@2ndquadrant.com
обсуждение исходный текст
Ответ на \dt+ sizes don't include TOAST data  (Florian Weimer <fweimer@bfk.de>)
Ответы Re: \dt+ sizes don't include TOAST data  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Florian Weimer wrote:
> The sizes displayed by \dt+ in version 8.4.2 do not take TOAST tables
> into account, presumably because the pg_relation_size does not reflect
> that, either.  I think this is a bit surprising.  From a user
> perspective, these are part of the table storage (I understand that
> the indices might be a different story, but TOAST table are a fairly
> deep implementation detail and should perhaps be hidden here).
>

As of last week there's a new pg_table_size available that does what you
want here:
http://archives.postgresql.org/pgsql-committers/2010-01/msg00288.php

I don't believe \dt+ has been updated yet to use that though; that's
worth considering for a minute, not sure anybody thought about it yet.

--
Greg Smith    2ndQuadrant   Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com  www.2ndQuadrant.com


В списке pgsql-general по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Error "invalid byte sequence for encoding UTF8" on insert into BYTEA column
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Changing FS when full