Re: Queries sometimes take 1000 times the normal time

Поиск
Список
Период
Сортировка
От Anders K. Pedersen
Тема Re: Queries sometimes take 1000 times the normal time
Дата
Msg-id bim7v8$dbs$1@harrier.cohaesio.com
обсуждение исходный текст
Ответ на Re: Queries sometimes take 1000 times the normal time  ("Anders K. Pedersen" <akp@cohaesio.com>)
Список pgsql-performance
scott.marlowe wrote:
> Just to add to the clutch here, also check your bdflush settings (if
> you're on linux) or equivalent (if you're not.)
>
> Many times the swapping algo in linux can be quite bursty if you have it
> set to move too many pages at a time during cleanup / flush.

According to vmstat it doesn't swap near the spikes, so I don't think
this is the problem. I posted a vmstat sample in another reply, where
you can see an example of what happens.

Regards,
Anders K. Pedersen


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

Предыдущее
От: Ken Geis
Дата:
Сообщение: bad estimates / non-scanning aggregates
Следующее
От: Bill Moran
Дата:
Сообщение: Taking another shot at the PostgreSQL/filesystem benchmarks