Re: go for a script! / ex: PostgreSQL vs. MySQL - Mailing list pgsql-performance

From Christopher Kings-Lynne
Subject Re: go for a script! / ex: PostgreSQL vs. MySQL
Date
Msg-id 3F8B5194.1000106@familyhealth.com.au
Whole thread Raw
In response to Re: go for a script! / ex: PostgreSQL vs. MySQL  (Vivek Khera <khera@kcilink.com>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Sun performance - Major discovery!
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: go for a script! / ex: PostgreSQL vs. MySQL