How do I measure user disk usage on Postgresql table?

Поиск
Список
Период
Сортировка
От Dave
Тема How do I measure user disk usage on Postgresql table?
Дата
Msg-id 4cef5$48062fe8$453dce02$4149@FUSE.NET
обсуждение исходный текст
Ответы Re: How do I measure user disk usage on Postgresql table?
Список pgsql-general
Lets say I have a Postgresql table where I store uploaded data for all users, identified by user_id column. Is it possible to run a query to measure the storage a user is consuming?

Ideally this would be a SELECT query with WHERE clause on user_id and will only return size of the data field(s), rather then the overhead.

Any other ideas?
 
Thanks

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

Предыдущее
От: wasenbr
Дата:
Сообщение: How to retore a pg_dumpall dump?
Следующее
От: Michael Enke
Дата:
Сообщение: Re: util/int8.h: missing int8_text() function