X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id C3277D1B531 for ; Tue, 11 Nov 2003 19:50:37 +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 12124-09 for ; Tue, 11 Nov 2003 15:50:08 -0400 (AST) Received: from jefftrout.com (h00a0cc4084e5.ne.client2.attbi.com [24.128.241.68]) by svr1.postgresql.org (Postfix) with SMTP id 3C5DCD1B4FA for ; Tue, 11 Nov 2003 15:50:06 -0400 (AST) Received: (qmail 71804 invoked from network); 11 Nov 2003 19:50:10 -0000 Received: from localhost (HELO squeegit) (threshar@127.0.0.1) by localhost with SMTP; 11 Nov 2003 19:50:10 -0000 Date: Tue, 11 Nov 2003 14:49:54 -0500 From: Jeff To: Greg Spiegelberg Cc: pgsql-admin@postgresql.org Subject: Re: Upgrading to Solaris 9 Message-Id: <20031111144954.26622251.threshar@torgo.978.org> In-Reply-To: <3FB12C4F.1080607@cranel.com> References: <3FB12C4F.1080607@cranel.com> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/197 X-Sequence-Number: 11184 On Tue, 11 Nov 2003 13:37:03 -0500 Greg Spiegelberg wrote: > I did and had too many problems and performance issues. Solaris- > PostgreSQL just doesn't gel as wel as Linux-PostgreSQL. (ouch) > 7.4 "fixes" a lot of hte performance problems we've seen with PG. I had a very strong reason to make PG work well on solaris and after some digging we found that by default, PG was being compiled with no optimization on solaris. That resulted in an AMAZING speed increase - making it comprible to linux. You can get the same effect on 7.3.x by setting CFLAGS=-O2 before running configure. However, establishing connections will not get much of an increase due to solaris' amazingly slow fork(). The thread issue has been beaten to death on -HACKERS. You can also check the -performance lists for the threads I posted about this... oh a couple months ago? -- Jeff Trout http://www.jefftrout.com/ http://www.stuarthamm.net/