Re: Increasing work_mem and shared_buffers on Postgres 9.2 significantly slows down queries

Поиск
Список
Период
Сортировка
От Petr Praus
Тема Re: Increasing work_mem and shared_buffers on Postgres 9.2 significantly slows down queries
Дата
Msg-id CACezXZ9aeCB2dUN7mO2NQk+GoPBXk4d1MorvpYDTDu9W3EWCJA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Increasing work_mem and shared_buffers on Postgres 9.2 significantly slows down queries  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-performance
I did run each query several times, the results I posted are for ~10th run of the query.

The zone reclaim mode is 0.


On 2 November 2012 00:39, Scott Marlowe <scott.marlowe@gmail.com> wrote:
Two possibilities:

caching.  make sure to run each query several times in a row.

zone reclaim mode. If this has gotten turned on turn it back off.

How to tell:

sysctl -n vm.zone_reclaim_mode

Output should be 0.  If it's not, then add this to /etc/sysctl.conf:

vm.zone_reclaim_mode=0

and run: sudo sysctl -p

and see if that helps.

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

Предыдущее
От: Pedro Jiménez Pérez
Дата:
Сообщение: help with too slow query
Следующее
От: "list, mailing"
Дата:
Сообщение: freebsd or linux