Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id D45C42E0059 for ; Wed, 23 Apr 2008 07:44:43 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 74339-01 for ; Wed, 23 Apr 2008 07:44:38 -0300 (ADT) X-Greylist: delayed 00:27:40.789512 by SQLgrey-1.7.5 Received: from mail.transporeon-hq.com (mail.transporeon-hq.com [213.179.145.36]) by developer.postgresql.org (Postfix) with ESMTP id 975E92E0056 for ; Wed, 23 Apr 2008 07:44:38 -0300 (ADT) Received: from localhost ([127.0.0.1]) by mail.transporeon-hq.com with esmtp (Exim 4.69) (envelope-from ) id 1Joc20-00032V-OM for pgsql-admin@postgresql.org; Wed, 23 Apr 2008 12:16:52 +0200 X-Virus-Scanned: Scanned by transporeon.com Received: from mail.transporeon-hq.com ([127.0.0.1]) by localhost (mail.transporeon.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wiJyCrYqws2Z for ; Wed, 23 Apr 2008 12:16:51 +0200 (CEST) Received: from gw.transporeon-hq.com ([213.179.145.34] helo=[172.28.8.2]) by mail.transporeon-hq.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Joc1y-00032L-Tr for pgsql-admin@postgresql.org; Wed, 23 Apr 2008 12:16:51 +0200 Message-ID: <480F0C92.8050907@transporeon.com> Date: Wed, 23 Apr 2008 12:16:50 +0200 From: =?ISO-8859-2?Q?Gerd_K=F6nig?= User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: confused of buffers and memory settings X-Enigmail-Version: 0.95.6 OpenPGP: id=CE188E9F Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200804/232 X-Sequence-Number: 28996 Hi, we're quite new to Postgres and we're going to start using Postgres8.3 on Opensuse10.3 64 bit. We have a dedicated dbserver with 8GB RAM, and now I'm not sure how to deal with the memory/buffer settings. The db will be accessed heavily (~20 requests/sec.) with a read/write ration of 50:50, yes, a lot of write activity. I thought of setting "shared_buffers" to 750000 (~6GB) but how depends this on the kernel buffer setting in /etc/sysctl.conf (what is the interaction between these two settings?). I know the variable "shmmax" can be defined, but currently there's no such entry. The meaning of "work_mem" / "maintenance_work_mem" and "wal_buffers" is also not clear. The maintenance_work_mem influences the size of the WAL logs..?!? What else are "top performance related" options for the usage scenario I described earlier ? any help appreciated....GERD...