Re: Rapidly finding maximal rows

Поиск
Список
Период
Сортировка
Искать
От
James Cranch
Тема
Re: Rapidly finding maximal rows
Дата
Msg-id
Prayer.1.3.4.1110121241510.22335@hermes-2.csi.cam.ac.uk
Ответ на
Список
Дерево обсуждения
Rapidly finding maximal rows James Cranch <jdc41@cam.ac.uk>
Re: Rapidly finding maximal rows bricklen <bricklen@gmail.com>
Re: Rapidly finding maximal rows James Cranch <jdc41@cam.ac.uk>
Re: Rapidly finding maximal rows Dave Crooke <dcrooke@gmail.com>
Re: Rapidly finding maximal rows Merlin Moncure <mmoncure@gmail.com>
Re: Rapidly finding maximal rows James Cranch <jdc41@cam.ac.uk>
Dear Bricklen,

>Try setting work_mem to something larger, like 40MB to do that sort
>step in memory, rather than spilling to disk. The usual caveats apply
>though, like if you have many users/queries performing sorts or
>aggregations, up to that amount of work_mem may be used at each step
>potentially resulting in your system running out of memory/OOM etc.

Thanks, I'll bear that in mind as a strategy. It's good to know. But since 
Dave has saved me the sort altogether, I'll go with his plan.

Best wishes,

James
\/\/\

-- 
------------------------------------------------------------
James Cranch                 http://www.srcf.ucam.org/~jdc41


В списке pgsql-performance по дате отправления
От: James Cranch
Дата:
От: James Cranch
Дата:
Сообщение: Rapidly finding maximal rows
FAQ