Re: Blocked updates and background writer performance

Поиск
Список
Период
Сортировка
От Vick Khera
Тема Re: Blocked updates and background writer performance
Дата
Msg-id CALd+dcd7S-iZZH=hNUyzKe_VD9nQA67TRQgkWX69T7-ETCtDdA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Blocked updates and background writer performance  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: Blocked updates and background writer performance  (Cory Tucker <cory.tucker@gmail.com>)
Список pgsql-general

On Wed, Jan 13, 2016 at 11:51 AM, Jeff Janes <jeff.janes@gmail.com> wrote:
Anyway, it looks to me like you have a checkpoint problem.  The checkpoint overwhelms your IO system.  The overwhelmed IO system then backs up into the bgwriter.  What you see in the bgwriter is just a symptom, not the cause.  The background writer is usually not very useful in recent versions of PostgreSQL, anyway.  But, the same IO problem that is clogging up the background writer is also clogging up either your buffer_backend, or your WAL writes/fsyncs.  And both of those will destroy your throughput.

That was my intuition too. Not enough I/O available from the hardware for the workload requested.

As recommended, log your checkpoints and try tuning them to spread the load.

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

Предыдущее
От: Vick Khera
Дата:
Сообщение: Re: Moving a large DB (> 500GB) to another DB with different locale
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Call postgres PL/Python stored function from another PL/Python block.