Re: Default shared memory SGML mention

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Default shared memory SGML mention
Date: 2001-05-08 18:01:43
Message-ID: 200105081801.f48I1ho19055@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2001-05-08 18:22:07 Re: [BUGS] Doc bug undefined special characters
Previous Message The Hermit Hacker 2001-05-08 17:48:29 Re: "make install" note