Re: does the query planner consider work_mem?

Поиск
Список
Период
Сортировка
От Ants Aasma
Тема Re: does the query planner consider work_mem?
Дата
Msg-id CA+CSw_uuyJAC7xejcoD6n1b8XF-TKw8KU6d95ssXKaBVQ1HL8A@mail.gmail.com
обсуждение исходный текст
Ответ на does the query planner consider work_mem?  (Murat Tasan <mmuurr@gmail.com>)
Ответы Re: does the query planner consider work_mem?
Список pgsql-performance
On Wed, May 30, 2012 at 8:57 PM, Murat Tasan <mmuurr@gmail.com> wrote:
> any insights here?

Have you tried running the slow option multiple times? According to
the explain output all of the time was accounted to the bitmap heap
scan. For the second explain plan the same node was fast. It looks to
me as the first explain on 8.4 was slow because the data was still on
disk. Raising work mem doubled the speed of the sort from 800ms to
400ms.

Regards,
Ants Aasma
--
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt
Web: http://www.postgresql-support.de

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

Предыдущее
От: Murat Tasan
Дата:
Сообщение: does the query planner consider work_mem?
Следующее
От: Murat Tasan
Дата:
Сообщение: Re: does the query planner consider work_mem?