| От | charette@writeme.com (Stephane Charette) |
|---|---|
| Тема | various questions on column sizes & cleaning up |
| Дата | |
| Msg-id | 1be4bb40.0303191409.3203e5a0@posting.google.com обсуждение исходный текст |
| Список | pgsql-general |
We've inherited another linux postgres database project with many tables. We're trying to get a better understanding of the physical disk space properties and requirements for this database. (Nice trick: running "select relname, relfilenode from pg_class where relname not like 'pg%' order by relfilenode;" helped us determine which table and index maps to which physical file.) My questions: - Is there a SQL command I can run to determine the actual size of a row within a table? (Or the byte sizes of each individual columns?) - Is there a listing of the column types and the number of bytes required? - Does running vacuum clean up the indexes as well as tables? - Or is there a different command we should also run for the indexes? - Or is nothing necessary for the indexes? Thanks in advance! Stephane Charette
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера