Unix Technical Forum

Re: Setting up data on two drives newb version. left

This is a discussion on Re: Setting up data on two drives newb version. left within the pgsql Admins forums, part of the PostgreSQL category; --> Bruce Momjian has an other interesting manual on hardware performance tuning: http://candle.pha.pa.us/main/writing...nce/index.html It covers a lot of the same ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 01:23 AM
John Jensen
 
Posts: n/a
Default Re: Setting up data on two drives newb version. left

Bruce Momjian has an other interesting manual on hardware performance
tuning:
http://candle.pha.pa.us/main/writing...nce/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


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:11 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com