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 1329ED1E9E1 for ; Tue, 6 Apr 2004 08:15:46 -0300 (ADT) 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 78119-09 for ; Tue, 6 Apr 2004 08:16:28 -0300 (ADT) Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by svr1.postgresql.org (Postfix) with ESMTP id 9EA7FD1E9C5 for ; Tue, 6 Apr 2004 08:15:40 -0300 (ADT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-33.mail.demon.net with esmtp (Exim 3.35 #1) id 1BAoZ8-0000MC-0X; Tue, 06 Apr 2004 12:16:27 +0100 Received: by mainbox.archonet.com (Postfix, from userid 529) id 900FF1666F; Tue, 6 Apr 2004 12:16:24 +0100 (BST) Received: from client17.archonet.com (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 9934316486; Tue, 6 Apr 2004 12:16:22 +0100 (BST) From: Richard Huxton To: huang yaqin , "pgsql-performance@postgresql.org" Subject: Re: good pc but bad performance,why? Date: Tue, 6 Apr 2004 12:16:22 +0100 User-Agent: KMail/1.5 References: <0HVQ00E33PI95I@mail.gthome.com> In-Reply-To: <0HVQ00E33PI95I@mail.gthome.com> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200404061216.22856.dev@archonet.com> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.15.3 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/58 X-Sequence-Number: 6358 On Tuesday 06 April 2004 09:01, huang yaqin wrote: > hello, > > I have some question when I use postgresql 7.4.1 on redhat adv server 2.1 > . I use IBM335 as server, it has 4 cpus, 1G RAM. but I got very bad > performance. I can only do about 50 inserts per sencond. Event worse than > my pc(PIII 800,256M RAM), can anyone give me some advice? How have you tuned your postgresql.conf file? What disk systems do you have? What does vmstat/iostat show as the bottleneck in the system? -- Richard Huxton Archonet Ltd