| От | Michael Fuhr |
|---|---|
| Тема | Re: Table size |
| Дата | |
| Msg-id | 20070614131621.GA70209@winnie.fuhr.org обсуждение |
| Ответ на | Table size ("Shyam Sunder Rai" <ssrai@ismartpanache.com>) |
| Ответы |
Re: Table size
|
| Список | pgsql-admin |
On Thu, Jun 14, 2007 at 06:10:15PM +0530, Shyam Sunder Rai wrote: > How can I calculate a table size in postgres ? To find the size of an existing table use pg_relation_size() or pg_total_relation_size() (8.1 and later; in earlier versions use the functions in contrib/dbsize). http://www.postgresql.org/docs/8.2/interactive/functions-admin.html#FUNCTIONS-ADMIN-DBSIZE Or did you want to estimate the size of a table given the number and types of its columns and the number of rows? -- Michael Fuhr
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера