Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B924B47626F for ; Tue, 13 Aug 2002 22:29:40 -0400 (EDT) Received: from sabre.velocet.net (sabre.velocet.net [216.138.209.205]) by postgresql.org (Postfix) with ESMTP id 0A2DD47626D for ; Tue, 13 Aug 2002 22:29:40 -0400 (EDT) Received: from canoe.velocet.net (canoe45.velocet.net [216.138.225.99]) by sabre.velocet.net (Postfix) with ESMTP id A26DF13814B; Tue, 13 Aug 2002 22:29:43 -0400 (EDT) Received: by canoe.velocet.net (Postfix, from userid 101) id AD3E85679FD; Tue, 13 Aug 2002 18:48:38 -0400 (EDT) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15705.36038.645823.820155@canoe.velocet.net> Date: Tue, 13 Aug 2002 18:48:38 -0400 To: Tom Lane Cc: "Thomas O'Connell" , pgsql-admin@postgresql.org Subject: Re: performance tuning: shared_buffers, sort_mem; swap In-Reply-To: <1372.1029274016@sss.pgh.pa.us> References: <27214.1029257785@sss.pgh.pa.us> <1372.1029274016@sss.pgh.pa.us> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/177 X-Sequence-Number: 5292 >>>>> "Tom" == Tom Lane writes: [on shared memory size, deleted] Tom> There are also a number of fixed-size data structures in shared Tom> memory, and I believe we throw on a 10% fudge factor for good Tom> luck after we're done counting up what we think we need. Tom> You could work out the effective multipliers for these parameters Tom> with a little bit of experimental effort... I don't often ask a question, but it's been bugging me for some time: is there any reason why PostgreSQL must use SysV shared memory? Coming from the BSD camp, I've often pondered why it doesn't use BSD-style shared memory (which is often easier to allocate in the BSD world). Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================