Re: Upgrade to dual processor machine?

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Upgrade to dual processor machine?
Дата
Msg-id 87k7jhvc5w.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответ на Re: Upgrade to dual processor machine?  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
Ответы Re: Upgrade to dual processor machine?  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
Список pgsql-general
"Shridhar Daithankar" <shridhar_daithankar@persistent.co.in> writes:
> 3) Sort mem is a tricky affair. AFAIU, it is used only when you create index or
> sort results of a query. If do these things seldomly, you can set this very low
> or default. For individual session that creates index, you can set the sort
> memory accordingly.

What would the benefit of this be? sort_mem is just an upper limit on
memory consumption, and that memory is only allocated on demand. So
there shouldn't be a difference between setting sort_mem globally to
some reasonable value, and manually changing it for backends that need
to do any sorting.

Cheers,

Neil

--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

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

Предыдущее
От: Artur Rataj
Дата:
Сообщение: Comparing strings with non-ASCII characters
Следующее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re: Upgrade to dual processor machine?