Hi all, I'm looking into adding things to the way I monitor pgsql installations. One of them was free space map stuff. Is there a way to get free space information (especially used free space) without having to screen-scrape the output of VACUUM VERBOSE? I know you can get the allocated fsm pages from "show max_fsm_pages", but I'd like something along the lines of "show needed_fsm_pages". Is there anything that can do this? i don't care if the data is a little stale, I'd just like to have a rough picture of free space map settings and usage. Peter
"Peter Koczan" <pjkoczan@gmail.com> writes:
> I'm looking into adding things to the way I monitor pgsql
> installations. One of them was free space map stuff. Is there a way to
> get free space information (especially used free space) without having
> to screen-scrape the output of VACUUM VERBOSE?
In 8.2 there's a contrib/pg_freespacemap module that would help.
regards, tom lane
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера