Re: Log levels for checkpoint/bgwriter monitoring

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: Log levels for checkpoint/bgwriter monitoring
Дата
Msg-id Pine.GSO.4.64.0703062304230.24241@westnet.com
обсуждение исходный текст
Ответ на Re: Log levels for checkpoint/bgwriter monitoring  (Jim Nasby <decibel@decibel.org>)
Ответы Re: Log levels for checkpoint/bgwriter monitoring  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
On Tue, 6 Mar 2007, Jim Nasby wrote:

> The flipside is that it's much easier to machine-parse a table rather 
> than trying to scrape the logs.

Now you might realize why I've been so vocal on the SQL log export 
implementation details.

> And I don't think we'll generally care about each individual checkpoint; 
> rather we'll want to look at things like 'checkpoints/hour' and 
> 'checkpoint written pages/hour'.

After a few months of staring at this data, I've found averages like that 
misleading.  The real problem areas correlate with the peak pages written 
at any one checkpoint.  Lowering that value is really the end-game for 
optimizing the background writer, and the peaks are what will nail you 
with a nasty fsync pause at checkpoint time.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD


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

Предыдущее
От: "Luke Lonergan"
Дата:
Сообщение: Re: Bug: Buffer cache is not scan resistant
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Aggressive freezing in lazy-vacuum