Received: from files.kinesis-cem.com ([65.101.136.90]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fADFY8m32588 for ; Tue, 13 Nov 2001 10:34:08 -0500 (EST) (envelope-from pdarley@kinesis-cem.com) Received: from pdarley ([192.168.1.10]) by files.kinesis-cem.com (8.9.3/8.8.7) with SMTP id HAA17051 for ; Tue, 13 Nov 2001 07:27:56 -0800 From: "Peter Darley" To: "Pgsql-Admin" Subject: Postgresql optimization Date: Tue, 13 Nov 2001 07:35:57 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Archive-Number: 200111/56 X-Sequence-Number: 2581 Friends, I have what seems to me to be a fairly beefy Linux box (2x1Ghz cpu, 768meg memory) that is a dedicated Postgres server, and which hasn't been performing the way I felt it should. I found a good article on the web about optimizing Postgres on Linux, ( http://www.phpbuilder.com/columns/smith20010821.php3?print_mode=1 )and the thing that seems to be the bottleneck for my database appears to be the amount of memory that Linux sets aside for shared memory space. I set my machine up like the guy in the article (by doing echo 128000000 > /proc/sys/kernel/shmmax to set the shared memory to 128 megs), and things are going way faster now than they were. I'm still at 340 megs free on the machine, and I would like to bump this up by half again (192 megs), and then up to double (256 megs) if that works out, however I don't really understand all the ramification for this, so I just wanted to check with y'all and see if you thought I would be getting myself in trouble... Thanks, Peter Darley