Re: pg_buffercache

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: pg_buffercache
Дата
Msg-id CAHyXU0zTtZJ=rxXDTwoBxkb=BBcK36SVwyYfydiZ53__J0hUVw@mail.gmail.com
обсуждение исходный текст
Ответ на pg_buffercache  (pg noob <pgnube@gmail.com>)
Список pgsql-performance
On Tue, Oct 30, 2012 at 1:34 PM, pg noob <pgnube@gmail.com> wrote:
>
> Hi all,
>
> I was wondering if it is safe to install pg_buffercache on production
> systems?

Well, why wouldn't you expect it to be safe?  Core extensions should
be mostly assumed safe unless there is a good reasons to believe
otherwise.  That said, there may be some performance impacts,  In
particular, take note:

"When the pg_buffercache view is accessed, internal buffer manager
locks are taken for long enough to copy all the buffer state data that
the view will display. This ensures that the view produces a
consistent set of results, while not blocking normal buffer activity
longer than necessary. Nonetheless there could be some impact on
database performance if this view is read often."

merlin


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

Предыдущее
От: Dong Ye
Дата:
Сообщение: dbt2 performance regresses from 9.1.6 to 9.2.1
Следующее
От: "Gunnar \"Nick\" Bluth"
Дата:
Сообщение: Re: Re: Increasing work_mem and shared_buffers on Postgres 9.2 significantly slows down queries