Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id A022E9FB376 for ; Fri, 30 Mar 2007 22:38:19 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 11375-10 for ; Fri, 30 Mar 2007 22:38:05 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 383DC9FB345 for ; Fri, 30 Mar 2007 22:38:11 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id EBC29308F7; Sat, 31 Mar 2007 03:38:08 +0200 (MET DST) From: Christopher Browne X-Newsgroups: pgsql.performance Subject: Re: scalablility problem Date: Fri, 30 Mar 2007 21:18:18 -0400 Organization: cbbrowne Computing Inc Lines: 28 Message-ID: <874po2tdlx.fsf@wolfe.cbbrowne.com> References: <460D7220.9010302@cse.ohio-state.edu> 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.1007 (Gnus v5.10.7) XEmacs/21.4.19 (linux) Cancel-Lock: sha1:EF4cVWWox44owNX5I7EZ9L1brSM= To: pgsql-performance@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.315 tagged_above=0 required=5 tests=AWL=0.314, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200703/462 X-Sequence-Number: 23867 Quoth dingxn@cse.ohio-state.edu (Xiaoning Ding): > When I run multiple TPC-H queries (DBT3) on postgresql, I found the system > is not scalable. My machine has 8GB memory, and 4 Xeon Dual Core processor > ( 8 cores in total). OS kernel is linux 2.6.9. Postgresql is 7.3.18. I > I think it might be caused by some contentions. But I do not know postgresql > much. May anybody give me some clue to find the reasons? Two primary issues: 1. You're running a horrendously ancient version of PostgreSQL. The 7.3 series is Really Old. Newer versions have *enormous* improvements that are likely to be *enormously* relevant. Upgrade to 8.2. 2. There are known issues with the combination of Xeon processors and PAE memory addressing; that sort of hardware tends to be *way* less speedy than the specs would suggest. There have been "context switching" issues on this sort of hardware that are enormously worsened if you're running on a version of PostgreSQL that is 4 major releases out of date. -- wm(X,Y):-write(X),write('@'),write(Y). wm('cbbrowne','gmail.com'). http://cbbrowne.com/info/x.html I am not a number! I am a free man!