Re: Space for pg_dump

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Space for pg_dump
Дата
Msg-id 20090420173537.GD10358@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Space for pg_dump  (Jan Otto <asche@me.com>)
Ответы Re: Space for pg_dump  (Jan Otto <asche@me.com>)
Список pgsql-general
Jan Otto wrote:

> If you have big toast tables you get wrong results with the query
> suggested
> at http://wiki.postgresql.org/wiki/Disk_Usage because it takes the
> toasted
> values not into account.


> Now a fixed query which gets the sizes of the related pg_toast_oid and
> pg_toast_oid_index too:

Note that there is also the pg_total_relation_size function which will
report the total table size, including toast table and indexes.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Jan Otto
Дата:
Сообщение: Re: Space for pg_dump
Следующее
От: Jan Otto
Дата:
Сообщение: Re: Space for pg_dump