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

From: Christopher Browne <cbbrowne(at)acm(dot)org>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: go for a script! / ex: PostgreSQL vs. MySQL
Date: 2003-10-13 23:58:36
Message-ID: m3smlw666r.fsf@wolfe.cbbrowne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

Centuries ago, Nostradamus foresaw when khera(at)kcilink(dot)com (Vivek Khera) would write:
>>>>>> "JB" == Josh Berkus <josh(at)agliodbs(dot)com> writes:
>
> JB> Chris,
>>> > 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
>>>
>>> Note that this still requires a kernel recompile on FreeBSD :(
>
> JB> Not our fault, now is it? This would mean that we wouldn't be
> JB> able to script for FreeBSD. Bug the FreeBSD developers.
>
> "I read it on the net so it must be true" applies here. You /can/ set
> these values via sysctl calls.

Yes, indeed, sysctl can tweak these values fairly adequately.

Now, numbers of semaphors are not as readily tweaked; I wound up
limited, the other day, when I tried setting values for...

kern.ipc.semmns
kern.ipc.semmni
--
let name="cbbrowne" and tld="ntlug.org" in String.concat "@" [name;tld];;
http://www.ntlug.org/~cbbrowne/x.html
"So, when you typed in the date, it exploded into a sheet of blue
flame and burned the entire admin wing to the ground? Yes, that's a
known bug. We'll be fixing it in the next release. Until then, try not
to use European date format, and keep an extinguisher handy."
-- slam(at)pobox(dot)com (Tequila Rapide)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-10-14 00:11:55 Re: go for a script! / ex: PostgreSQL vs. MySQL
Previous Message Tom Lane 2003-10-13 23:56:39 Re: gborg cvs ?

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2003-10-14 00:01:55 Re: ways to force index use?
Previous Message Josh Berkus 2003-10-13 23:55:25 Re: ways to force index use?