Re: Monitoring disk space from within the server

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: Monitoring disk space from within the server
Дата
Msg-id 20191108133531.GH8017@msg.df7cb.de
обсуждение исходный текст
Ответ на Re: Monitoring disk space from within the server  (Julien Rouhaud <rjuju123@gmail.com>)
Ответы Re: Monitoring disk space from within the server  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-hackers
Re: Julien Rouhaud 2019-11-08 <CAOBaU_YVGEnsnP1ufp42NiJ+WvPHRWBOsBOcaxWxsbXPN_sdNQ@mail.gmail.com>
> Shouldn't we have something more generic, in hope that this eventually
> get implemented on Windows?  I'm also wondering if getting the fs
> information is enough, as there might be quota.

The name is certainly not a good pick, it's not meant to be a raw
statfs() wrapper but something more high-level. I just went with that
to have something working to start with.

How about these?
pg_tablespace_stats()
pg_tablespace_space()
pg_tablespace_disk_space()

Christoph



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: Monitoring disk space from within the server
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: CountDBSubscriptions check in dropdb