"Matthew Nuzum" <cobalt@bearfruit.org> writes:
> Thanks for the very quick reply... I didn't know about the dbsize stuff,
> they may help. Unfortunately, the records are mixed together.
When measuring the on-disk size of a table, don't forget to include its
indexes and its toast table (and the toast table's index).
If you are using large objects, you'll also need to think sbout charging
for the space occupied by pg_largeobject.
regards, tom lane