Re: priority on a process

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: priority on a process
Дата
Msg-id Pine.LNX.4.33.0305161347340.6494-100000@css120.ihs.com
обсуждение исходный текст
Ответ на Re: priority on a process  ("Chris Palmer" <chris.palmer@geneed.com>)
Список pgsql-general
On Fri, 16 May 2003, Chris Palmer wrote:

> Scott Marlowe writes:
>
> > Also, if your machine has memory to spare, look at increasing
> > the effect cache size.
>
> Doesn't Linux automatically grow the fs cache/buffer to most of
> available memory? The OP said he was using Linux.
>
> On e.g. OpenBSD you would have to set the size in the kernel config, but
> Istr Linux doesn't need that. Granted, I haven't followed Linux closely
> since the 2.2 days, and I know there has been some VM hilarity in the
> "stable" 2.4 series. So maybe someone can update my old understanding...

Yes, effective_cache_size is the postgresql setting that tells the
postmaster we have "about this much kernel cache" on average.

If it's set low, then postgresql assumes the kernel isn't caching much, if
it's higher, then it assumes it's more likely for data to be "in memory"
and makes index scans more likely than seq scans.

Sorry, I should have pointed out I was talking out about a postgresql
configuration parameter and not a linux one...


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

Предыдущее
От: DeJuan Jackson
Дата:
Сообщение: Re: Rule on tabel
Следующее
От: Tom Lane
Дата:
Сообщение: Re: priority on a process