Re: Non-linear Performance

Поиск
Список
Период
Сортировка
От Doug Fields
Тема Re: Non-linear Performance
Дата
Msg-id 5.1.0.14.2.20020530120141.02b843f8@mail.pexicom.com
обсуждение исходный текст
Ответ на Re: Non-linear Performance  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Non-linear Performance
Список pgsql-general
> >> Increasing SORT_MEM would help the constant factor, however...
> >>
> > What is the most amount of SORT_MEM it makes sense to allocate?
>
>I've never experimented with it, but certainly the standard default
>(512K = 0.5M) is pretty small for modern machines.  In a 2G machine
>I might try settings around 100M-500M to see what works best.  (Note

I currently use 1.4 gigs for "shared mem" in my database (out of 2G) - I
couldn't get PostgreSQL to run with more than that (it might be an OS
limit, Linux 2.2).

I also use 64 megs as a SORT_MEM setting, on the theory that 4 sorts at
once will leave just enough RAM for the rest of my system not to swap.

Cheers,

Doug



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

Предыдущее
От: Doug Fields
Дата:
Сообщение: Scaling with memory & disk planning (was Re: Non-linear Performance)
Следующее
От: Wei Wang
Дата:
Сообщение: postgresql/php/apache installation question.