Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f48LBCA61692 for ; Tue, 8 May 2001 17:11:12 -0400 (EDT) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.10.1/8.10.1) id f48LB5E03982; Tue, 8 May 2001 17:11:05 -0400 (EDT) From: Bruce Momjian Message-Id: <200105082111.f48LB5E03982@candle.pha.pa.us> Subject: Re: Default shared memory SGML mention In-Reply-To: <8134.989354268@sss.pgh.pa.us> "from Tom Lane at May 8, 2001 04:37:48 pm" To: Tom Lane Date: Tue, 8 May 2001 17:11:04 -0400 (EDT) CC: PostgreSQL-documentation X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM989356264-2388-0_ Content-Transfer-Encoding: 7bit X-Archive-Number: 200105/51 X-Sequence-Number: 734 --ELM989356264-2388-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII > Bruce Momjian 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 --ELM989356264-2388-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain Content-Disposition: inline; filename="/bjm/diff" 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 **** SHMMAX Maximum size of shared memory segment (bytes) ! 250 kB + 8192 * buffers or infinity --- 1481,1487 ---- SHMMAX Maximum size of shared memory segment (bytes) ! 250 kB + 8.2kB * buffers + 14.2kB * max_connections or infinity --ELM989356264-2388-0_--