Setting up data on two drives newb version. left off a little info on memory if you change the shared buffers.

Поиск
Список
Период
Сортировка
Искать

Setting up data on two drives newb version. left off a little info on memory if you change the shared buffers.

От:
"Joel Fradkin" <jfradkin@wazagua.com>
Дата:
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  /proc/sys/kernel/shmmax

to make it permanent
edit /etc/sysctl.conf
kernel.shmmax = 

example shared_buffers = 20000 it is 167763968 (160mb).



Joel Fradkin
 


FAQ