| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера