[SPAM] Re: shared_buffers advice

Поиск
Список
Период
Сортировка
От Ben Chobot
Тема [SPAM] Re: shared_buffers advice
Дата
Msg-id A2662635-A15D-4B71-B551-DC4020561DF9@silentmedia.com
обсуждение исходный текст
Ответ на Re: shared_buffers advice  (Konrad Garus <konrad.garus@gmail.com>)
Список pgsql-performance
On May 24, 2010, at 4:25 AM, Konrad Garus wrote:

> Do shared_buffers duplicate contents of OS page cache? If so, how do I
> know if 25% RAM is the right value for me? Actually it would not seem
> to be true - the less redundancy the better.

You can look into the pg_buffercache contrib module.

> Another question - is there a tool or built-in statistic that tells
> when/how often/how much a table is read from disk? I mean physical
> read, not poll from OS cache to shared_buffers.

Well, the pg_stat_* tables tell you how much logical IO is going on, but postgres has no way of knowing how effective
theOS or disk controller caches are. 

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

Предыдущее
От: Konrad Garus
Дата:
Сообщение: Re: shared_buffers advice
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: shared_buffers advice