pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL-documentation <pgsql-docs@postgresql.org>
Subject: Re: Default shared memory SGML mention
Date: Tue, 8 May 2001 17:11:04 -0400 (EDT)
Message-ID: <200105082111.f48LB5E03982@candle.pha.pa.us> (raw)
In-Reply-To: <8134.989354268@sss.pgh.pa.us>

> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Yes, but shared memory limits are based on buffers, not connections,
> > right?  The per-connection overhead is pretty small, no?
> 
> I gave you my experimentally-derived formula already:
> 
> 	250Kb + 8350 * B + 14580 * N
> 
> I don't see how you can consider the N term negligible.

OK, patch applied.

-- 
  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

Attachments:

/bjm/diff (text/plain, 831B) download Index: doc/src/sgml/runtime.sgml =================================================================== RCS file: /home/projects/pgsql/cvsroot/pgsql/doc/src/sgml/runtime.sgml,v retrieving revision 1.64 diff -c -r1.64 runtime.sgml *** doc/src/sgml/runtime.sgml 2001/05/07 15:55:27 1.64 --- doc/src/sgml/runtime.sgml 2001/05/08 21:09:21 *************** *** 1481,1487 **** <row> <entry><varname>SHMMAX</></> <entry>Maximum size of shared memory segment (bytes)</> ! <entry>250 kB + 8192 * buffers or infinity</entry> </row> <row> --- 1481,1487 ---- <row> <entry><varname>SHMMAX</></> <entry>Maximum size of shared memory segment (bytes)</> ! <entry>250 kB + 8.2kB * buffers + 14.2kB * max_connections or infinity</entry> </row> <row>

view thread (10+ messages)

Message-ID: <200105082111.f48LB5E03982@candle.pha.pa.us>
Permalink:  ../200105082111.f48LB5E03982@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200105082111.f48LB5E03982@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us
  Subject: Re: Default shared memory SGML mention
  In-Reply-To: <200105082111.f48LB5E03982@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox