hello. how to check disk space usage for a single table?
becks wrote: > hello. > how to check disk space usage for a single table? Look at relpages in pg_class for that table. VACUUM the table first. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Bruce Momjian wrote:
> becks wrote:
> > hello.
> > how to check disk space usage for a single table?
>
> Look at relpages in pg_class for that table. VACUUM the table first.
Actually, I wrote some stuff up for the 7.3 docs on this:
http://developer.postgresql.org/docs/postgres/diskusage.html
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера