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

Поиск
Список
Период
Сортировка
От John Jensen
Тема Re: Setting up data on two drives newb version. left
Дата
Msg-id s20e42e3.033@fs3.ft.fo
обсуждение исходный текст
Список pgsql-admin
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


В списке pgsql-admin по дате отправления:

Предыдущее
От: "Joel Fradkin"
Дата:
Сообщение: Setting up data on two drives newb version. left off a little info on memory if you change the shared buffers.
Следующее
От: "Haron, Charles"
Дата:
Сообщение: Re: Trouble Escaping Quotes