Re: go for a script! / ex: PostgreSQL vs. MySQL

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: go for a script! / ex: PostgreSQL vs. MySQL
Дата
Msg-id 3F8B5194.1000106@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: go for a script! / ex: PostgreSQL vs. MySQL  (Vivek Khera <khera@kcilink.com>)
Список pgsql-performance
>>>If shmmax and shmmall are too small, then:
>>>PostgreSQL requires some more shared memory to cache some tables, x
>>>Mb, do you want to increase your OS kernel parameters?
>>>Tweak shmmax and shmmall
>
>
> CK> Note that this still requires a kernel recompile on FreeBSD :(
>
> According to whom?  sysctl is your friend.  Some sysctl settings may
> require reboot, but I don't think the SHM ones do.

Hmmm...you may be right - I can't prove it now...

houston# sysctl -w kern.ipc.shmmax=99999999999
kern.ipc.shmmax: 33554432 -> 2147483647

Hrm.  Ok.  Maybe they've changed that in some recent version :)

Chris



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Sun performance - Major discovery!
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: go for a script! / ex: PostgreSQL vs. MySQL