Re: Interesting performance behaviour

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Interesting performance behaviour
Дата
Msg-id 200409101446.53309.josh@agliodbs.com
обсуждение исходный текст
Ответ на Interesting performance behaviour  (Joey Smith <joeysmith@gmail.com>)
Ответы Re: Interesting performance behaviour  (Joey Smith <joeysmith@gmail.com>)
Список pgsql-performance
Joey,

> shared_buffers = 1000
> sort_mem = 1024
> effective_cache_size = 1000

effective_cache_size should be much higher, like 3/4 of your available RAM.
This is probably the essence of your planner problem; the planner thinks you
have no RAM.

> I see a similar speedup (and change in query plan) using "LIMIT 1
> OFFSET <anything besides 0>".

So what's your problem?

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

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

Предыдущее
От: Joey Smith
Дата:
Сообщение: Interesting performance behaviour
Следующее
От:
Дата:
Сообщение: effective_cache_size in 7.3.4?