From: John Jensen <JRJ@ft.fo>
To: pgsql-admin@postgresql.org
To: jfradkin@wazagua.com
Subject: Re: Setting up data on two drives newb version. left
Date: Sat, 12 Feb 2005 17:54:28 +0000
Message-ID: <s20e42e3.033@fs3.ft.fo> (raw)
Bruce Momjian has an other interesting manual on hardware performance
tuning:
http://candle.pha.pa.us/main/writings/pgsql/hw_performance/index.html
It covers a lot of the same ground plus some other goodies.
/John
>>> "Joel Fradkin" <jfradkin@wazagua.com> 12-02-2005 16:22:28 >>>
This was also in the Desknow web page.
changing these parameters will probably cause postgres to not start.
su - postgres
pg_ctl -D /var/lib/pgsql/data start ( I actualy left the path off )
in the message it says you need to increase SHMMAX to a certain
number.
To do this you must be root
echo <shared_buffers * 8192> /proc/sys/kernel/shmmax
to make it permanent
edit /etc/sysctl.conf
kernel.shmmax = <shared_buffers * 8192>
example shared_buffers = 20000 it is 167763968 (160mb).
Joel Fradkin
---------------------------(end of
broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
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: JRJ@ft.fo, jfradkin@wazagua.com
Subject: Re: Setting up data on two drives newb version. left
In-Reply-To: <s20e42e3.033@fs3.ft.fo>
References: <s20e42e3.033@fs3.ft.fo>
* 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