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 2B3A7D1B549 for ; Tue, 14 Oct 2003 00:12:34 +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 63758-10 for ; Mon, 13 Oct 2003 21:12:04 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id A2151D1B53C for ; Mon, 13 Oct 2003 21:12:03 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id h9E0C1Nw059141 for ; Tue, 14 Oct 2003 00:12:02 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id h9E04PUO058348 for pgsql-performance@postgresql.org; Tue, 14 Oct 2003 00:04:25 GMT From: Christopher Browne X-Newsgroups: comp.databases.postgresql.performance Subject: Re: go for a script! / ex: PostgreSQL vs. MySQL Date: Mon, 13 Oct 2003 19:58:36 -0400 Organization: cbbrowne Computing Inc Lines: 32 Message-ID: References: <007901c38f2b$0b585590$2802a8c0@webbased10> <3F8819EF.7010004@chuckie.co.uk> <3F88BFD7.1020808@familyhealth.com.au> <200310121331.42693.josh@agliodbs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.hub.org X-message-flag: Outlook is rather hackable, isn't it? X-Home-Page: http://www.cbbrowne.com/info/ X-Affero: http://svcs.affero.net/rm.php?r=cbbrowne User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Reasonable Discussion, linux) Cancel-Lock: sha1:RfhRNoUAXEmhobW0mo33/HLJX9E= To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/441 X-Sequence-Number: 4189 Centuries ago, Nostradamus foresaw when khera@kcilink.com (Vivek Khera) would write: >>>>>> "JB" == Josh Berkus 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)