X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9C53DD1B54E for ; Tue, 14 Oct 2003 01:28:44 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 76266-10 for ; Mon, 13 Oct 2003 22:28:14 -0300 (ADT) Received: from houston.familyhealth.com.au (fhnet.arach.net.au [203.22.197.21]) by svr1.postgresql.org (Postfix) with ESMTP id 45B8AD1B524 for ; Mon, 13 Oct 2003 22:27:59 -0300 (ADT) Received: from familyhealth.com.au (work-40.internal [192.168.0.40]) by houston.familyhealth.com.au (8.12.9p1/8.12.9) with ESMTP id h9E1RdhI096190; Tue, 14 Oct 2003 09:27:41 +0800 (WST) (envelope-from chriskl@familyhealth.com.au) Message-ID: <3F8B5194.1000106@familyhealth.com.au> Date: Tue, 14 Oct 2003 09:29:56 +0800 From: Christopher Kings-Lynne User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vivek Khera Cc: pgsql-performance@postgresql.org Subject: Re: go for a script! / ex: PostgreSQL vs. MySQL 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> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/443 X-Sequence-Number: 4191 >>>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