pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Browne <cbbrowne@acm.org>
To: pgsql-performance@postgresql.org
Subject: Re: go for a script! / ex:  PostgreSQL vs. MySQL
Date: Mon, 13 Oct 2003 19:58:36 -0400
Message-ID: <m3smlw666r.fsf@wolfe.cbbrowne.com> (raw)
References: <007901c38f2b$0b585590$2802a8c0@webbased10>
	<3F8819EF.7010004@chuckie.co.uk>
	<3F88BFD7.1020808@familyhealth.com.au>
	<200310121331.42693.josh@agliodbs.com>
	<x77k39p2p4.fsf@yertle.int.kciLink.com>

Centuries ago, Nostradamus foresaw when khera@kcilink.com (Vivek Khera) would write:
>>>>>> "JB" == Josh Berkus <josh@agliodbs.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@pobox.com (Tequila Rapide) 



view thread (42+ messages)  latest in thread

Message-ID: <m3smlw666r.fsf@wolfe.cbbrowne.com>
Permalink:  ../m3smlw666r.fsf@wolfe.cbbrowne.com/
Also on:    postgresql.org/message-id/m3smlw666r.fsf@wolfe.cbbrowne.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: cbbrowne@acm.org
  Subject: Re: go for a script! / ex:  PostgreSQL vs. MySQL
  In-Reply-To: <m3smlw666r.fsf@wolfe.cbbrowne.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox