From: Peter Darley <pdarley@Kinesis-CEM.com>
To: Pgsql-Admin <pgsql-admin@postgresql.org>
Subject: Postgresql optimization
Date: Tue, 13 Nov 2001 07:35:57 -0800
Message-ID: <NNEAICKPNOGDBHNCEDCPMEBLCBAA.pdarley@kinesis-cem.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: pdarley@Kinesis-CEM.com
Subject: Re: Postgresql optimization
In-Reply-To: <NNEAICKPNOGDBHNCEDCPMEBLCBAA.pdarley@kinesis-cem.com>
References: <NNEAICKPNOGDBHNCEDCPMEBLCBAA.pdarley@kinesis-cem.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox