Re: General performance/load issue

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: General performance/load issue
Дата
Msg-id f07635dcc0ce99df2a333c8ac6848b23.squirrel@sq.gransy.com
обсуждение исходный текст
Ответ на Re: General performance/load issue  (Gaëtan Allart <gaetan@nexylan.com>)
Список pgsql-general
On 24 Listopad 2011, 15:27, Gaëtan Allart wrote:
> Hi Thomas,
>
> I will be using iotop ;)
> Right now, most i/o come from "postgres: wal writer process".

What do you mean by "most I/O" - how much data is it writing? Is there a
vacuum running at the same time? What other processes are doing I/O?

Post a few lines of "iostat -x 5" so we know what kind of I/O we're
dealing with.

> -> dirty :
>
> cat /proc/sys/vm/dirty_ratio 20
> cat /proc/sys/vm/dirty_background_ratio 10

This means the cache may contain up to 3.2GB of data before the system
starts to write them out on background, and about 6.4GB before the
processes can't use the write cache.

What about /proc/sys/vm/dirty_expire_centiseconds?

Is there something interesting in the postgresql.log? Autovacuum maybe?

Tomas


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

Предыдущее
От: Gaëtan Allart
Дата:
Сообщение: Re: General performance/load issue
Следующее
От: David Johnston
Дата:
Сообщение: Re: How to get normalized data from tekst column