Re: Query Performance SQL Server vs. Postgresql

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Query Performance SQL Server vs. Postgresql
Дата
Msg-id AANLkTinNLVJ_ypOAML4UmfZhKCz+eqstSQWaYbq390iJ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Query Performance SQL Server vs. Postgresql  (Humair Mohammed <humairm@hotmail.com>)
Список pgsql-performance
On Mon, Nov 22, 2010 at 7:12 PM, Humair Mohammed <humairm@hotmail.com> wrote:
> I did some further analysis and here are the results:
> work_mem;response_time
> 1MB;62 seconds
> 2MB;2 seconds
> 4MB;700 milliseconds
> 8MB;550 milliseconds
> In all cases shared_buffers were set to the default value of 32MB. As you
> can see the 1 to 2 MB jump on the work_mem does wonders. I probably don't
> need this to be any higher than 8 or 16 MB. Thanks to all for help!
> Humair

work_mem directly affects how the query is planned, because certain
types of plans (hash joins ans large sorts) require memory. raising or
lowering shared_buffers OTOH is very subtle and is not something you
tune to improve the execution of a single query...

merlin

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

Предыдущее
От: Humair Mohammed
Дата:
Сообщение: Re: Query Performance SQL Server vs. Postgresql
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Performance under contention