Re: Allow sorts to use more available memory

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Allow sorts to use more available memory
Дата
Msg-id 20110913011516.GU12765@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Allow sorts to use more available memory  (Robert Schnabel <schnabelr@missouri.edu>)
Ответы Re: Allow sorts to use more available memory  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-performance
* Robert Schnabel (schnabelr@missouri.edu) wrote:
> And getting back to the to-do list entry and reading the related
> posts, it appears that even if you could set work_mem that high it
> would only use 2GB anyway.  I guess that was the second part of my
> question.  Is that true?

Errr, and to get back to the to-do (which I've been considering doing
something about...), it's to allow the *actual* memory usage for things
like sorts to use more than 2GB, but as others have pointed out, you can
do that by putting pgsql_tmp on a memory filesystem and letting the
sorts spill to the memory-based FS.

    Thanks,

        Stephen

Вложения

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Allow sorts to use more available memory
Следующее
От: Aidan Van Dyk
Дата:
Сообщение: Re: Raid 5 vs Raid 10 Benchmarks Using bonnie++