Re: db size and tables size difference

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: db size and tables size difference
Дата
Msg-id 9011.1253744846@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: db size and tables size difference  (Isabella Ghiurea <isabella.ghiurea@nrc-cnrc.gc.ca>)
Ответы db size and tables size difference  (Isabella Ghiurea <isabella.ghiurea@nrc-cnrc.gc.ca>)
Список pgsql-admin
Isabella Ghiurea <isabella.ghiurea@nrc-cnrc.gc.ca> writes:
> The issue may be   with pg_size_pretty()  results, I don't have details
> knowledge of this function.

I doubt it, that's a pretty simple function ... but if you don't trust
it, just remove the pg_size_pretty call and look directly at the output
of the size functions.

> select pg_size_pretty(pg_database_size('db1'));

Just to double check here ... you're sure you're naming the correct
database in this call?

            regards, tom lane

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

Предыдущее
От: Isabella Ghiurea
Дата:
Сообщение: Re: db size and tables size difference
Следующее
От: Mihail Nasedkin
Дата:
Сообщение: pg_toast record in table pg_class