Re: Monitoring Transaction Log size

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Monitoring Transaction Log size
Дата
Msg-id 6235.1169073517@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Monitoring Transaction Log size  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-performance
"Joshua D. Drake" <jd@commandprompt.com> writes:
> Ziegelwanger, Silvio wrote:
>> how can I monitor the size of the transaction log files using SQL Statements?

> You can't. You would have to write a custom function to heck the size of
> the xlog directory.

Perhaps more to the point, why do you think you need to?  pg_xlog should
stay pretty level at approximately 2*checkpoint_segments xlog files
(once it's ramped up to that size, which might take a heavy burst of
activity if checkpoint_segments is large).

            regards, tom lane

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

Предыдущее
От: Kevin Hunter
Дата:
Сообщение: DB benchmark and pg config file help
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Configuration Advice