| From: | Greg Smith <greg(at)2ndquadrant(dot)com> |
|---|---|
| To: | Florian Weimer <fweimer(at)bfk(dot)de> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: \dt+ sizes don't include TOAST data |
| Date: | 2010-01-22 00:22:50 |
| Message-ID: | 4B58EFDA.7060904@2ndquadrant.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)2ndQuadrant(dot)com www.2ndQuadrant.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Smith | 2010-01-22 00:28:20 | Re: Changing FS when full |
| Previous Message | Martijn van Oosterhout | 2010-01-22 00:13:13 | Re: Error "invalid byte sequence for encoding UTF8" on insert into BYTEA column |