Re: buffercache/bgwriter

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: buffercache/bgwriter
Дата
Msg-id 4D902482.9010705@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: buffercache/bgwriter  (Uwe Bartels <uwe.bartels@gmail.com>)
Ответы Re: buffercache/bgwriter  (Uwe Bartels <uwe.bartels@gmail.com>)
Список pgsql-performance
On 03/24/2011 05:19 AM, Uwe Bartels wrote:
> It would also be good to see how many buffers were written by backend
> processes grouped by Buffer Access Strategy - to better distinguish
> evil backend writes from wanted backend writes.

Since all these writes are being cached by the operating system, which
strategy writes them out isn't that useful to track.  The only really
"evil" type of writes are ones where the background writer doesn't
absorb the fsync calls and the backends have to do that themselves.  And
as of V9.1, that is something you can distinguish in pg_stat_bgwriter
(and it's also less likely to happen, too)

--
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support  www.2ndQuadrant.us
"PostgreSQL 9.0 High Performance": http://www.2ndQuadrant.com/books


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

Предыдущее
От: Joshua Berkus
Дата:
Сообщение: Re: Shouldn't we have a way to avoid "risky" plans?
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Xeon twice the performance of opteron