X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C7A9653F90 for ; Thu, 12 May 2005 16:07:33 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92409-06 for ; Thu, 12 May 2005 19:07:32 +0000 (GMT) Received: from koolancexeon.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by svr1.postgresql.org (Postfix) with ESMTP id 1A05A53F8F for ; Thu, 12 May 2005 16:07:29 -0300 (ADT) Received: mail.g2switchworks.com 10.10.1.8 from 10.10.1.37 10.10.1.37 via HTTP with MS-WebStorage 6.5.6944 Received: from state.g2switchworks.com by mail.g2switchworks.com; 12 May 2005 14:07:21 -0500 Subject: Re: memory allocation ; postgresql-8.0 From: Scott Marlowe To: "Kavan, Dan (IMS)" Cc: pgsql-admin@postgresql.org In-Reply-To: <782D2A81EC812642B857B03B506E0B4432648C@granite.omni.imsweb.com> References: <782D2A81EC812642B857B03B506E0B4432648C@granite.omni.imsweb.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1115924841.22291.5.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 12 May 2005 14:07:21 -0500 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200505/165 X-Sequence-Number: 17594 On Thu, 2005-05-12 at 12:46, Kavan, Dan (IMS) wrote: > Do psql calls/procedures access resources reserved from the > kernel.shmmax? Only in the sense that it can execute a query, which in the backend could therefore use shared memory. psql, itself, doesn't use shared memory. > How about the tar or copy sysadmin commands? I would guess they don't > use kernel.shmmax resources. Correct. Actually, very few types of programs use shared memory. > Finally, work memory alos does not access > resources reserved from kernel.shmmax, correct? Correct. The only parts of postgresql.conf that affect shared memory usage are max connections, shared buffers, and the fsm.