pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Vivek Khera <khera@kcilink.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: go for a script! / ex:  PostgreSQL vs. MySQL
Date: Tue, 14 Oct 2003 09:29:56 +0800
Message-ID: <3F8B5194.1000106@familyhealth.com.au> (raw)
In-Reply-To: <x7brslp2r2.fsf@yertle.int.kciLink.com>
References: <007901c38f2b$0b585590$2802a8c0@webbased10>
	<200310101034.52073.josh@agliodbs.com>
	<3F86F5BB.90605@chuckie.co.uk>
	<200310101338.18167.josh@agliodbs.com>
	<3F8819EF.7010004@chuckie.co.uk>
	<3F88BFD7.1020808@familyhealth.com.au>
	<x7brslp2r2.fsf@yertle.int.kciLink.com>

>>>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





view thread (42+ messages)  latest in thread

Message-ID: <3F8B5194.1000106@familyhealth.com.au>
Permalink:  ../3F8B5194.1000106@familyhealth.com.au/
Also on:    postgresql.org/message-id/3F8B5194.1000106@familyhealth.com.au

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: chriskl@familyhealth.com.au, khera@kcilink.com
  Subject: Re: go for a script! / ex:  PostgreSQL vs. MySQL
  In-Reply-To: <3F8B5194.1000106@familyhealth.com.au>
  References: <007901c38f2b$0b585590$2802a8c0@webbased10> <200310101034.52073.josh@agliodbs.com> <3F86F5BB.90605@chuckie.co.uk> <200310101338.18167.josh@agliodbs.com> <3F8819EF.7010004@chuckie.co.uk> <3F88BFD7.1020808@familyhealth.com.au> <x7brslp2r2.fsf@yertle.int.kciLink.com> <3F8B5194.1000106@familyhealth.com.au>

* 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