Re: Default shared memory SGML mention

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Default shared memory SGML mention
Дата
Msg-id 200105081801.f48I1ho19055@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Default shared memory SGML mention  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Default shared memory SGML mention  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > so by my computations, we need about 700k added to the shared buffer
> > cache area.  The documentation says to add 512k, not 700k.
>
> This would depend on your -N setting.
>
> A little experimentation shows that the present multiplier for -B is
> about 8350 bytes and the multiplier for -N about 14580 bytes on my
> system (HPUX), which extrapolates to a fixed base of about 250K plus
> the -B and -N contributions.  In reality I believe the computation
> is somewhat nonlinear, but that's probably close enough for starters.

I have updated the SGML sources to say for default shared memory values:

    250 kB + 8192 * buffers or infinity

Of course, buffers is 2 * connections by default.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: "make install" note
Следующее
От: Vince Vielhaber
Дата:
Сообщение: Re: "make install" note