| От | Mendola Gaetano |
|---|---|
| Тема | Re: storage calculations |
| Дата | |
| Msg-id | 007201c35628$6d188570$10d4a8c0@mm.eutelsat.org обсуждение |
| Ответ на | storage calculations (pgboy@guthrie.charm.net) |
| Список | pgsql-admin |
<pgboy@guthrie.charm.net> writes: > i've been browsing the documentation online, and i can't > find where the storage layouts for tables and indexes are > explained. > > i'd like to be able to figure out, given a table or two > with a simple schema (no ineritance) and some indexes, and > a number of rows currently in these tables, how much disk > space is being used. oid2name | grep <your_db_name> give you the name of the directory where the database is stored inside your $PGDATA directory. In order to now the name of the file that correspond to your table: oid2name -d <your_db_name> -t <your_table_name> Regards Gaetano Mendola
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера