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 66841D1C9BB for ; Wed, 7 Apr 2004 01:03:58 -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 83539-10 for ; Wed, 7 Apr 2004 01:03:54 -0300 (ADT) Received: from mail (unknown [202.108.142.212]) by svr1.postgresql.org (Postfix) with ESMTP id 45522D1C9C4 for ; Wed, 7 Apr 2004 01:03:53 -0300 (ADT) Received: from HUANGYQ ([61.149.154.25]) by mail.gthome.com (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTPA id <0HVS00F9M905F7@mail.gthome.com> for pgsql-performance@postgresql.org; Wed, 07 Apr 2004 12:12:07 +0800 (CST) Date: Wed, 07 Apr 2004 12:00:37 +0800 From: huang yaqin Subject: Re: good pc but bad performance,why? To: Tom Lane Cc: "pgsql-performance@postgresql.org" Message-id: <0HVS00F9Q906F7@mail.gthome.com> MIME-version: 1.0 X-Mailer: Foxmail 4.2 [cn] Content-type: text/plain; charset=GB2312 Content-transfer-encoding: quoted-printable X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/72 X-Sequence-Number: 6372 hello=A3=A1 Thanks, you are right. I use "postmaster -o "-F" " to start my PG=A3=ACand performance improved = greatly. Best regards, huang yaqin >huang yaqin writes: >> 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 perfor= mance. >> I can only do about 50 inserts per sencond. Event worse than my pc(PIII = 800,256M RAM), can anyone give me some advice?=09 > >If the cheap machine appears to be able to commit more transactions >per second than the better one, it's very likely because the cheap >machine has a disk that lies about write completion. Is the server >using SCSI disks by any chance? To a first approximation, IDE drives >lie by default, SCSI drives don't. > > regards, tom lane > > > > >Powered by MessageSoft SMG >SPAM, virus-free and secure email >http://www.messagesoft.com =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D= =3D =09=09=09 =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=D6=C2 =C0=F1=A3=A1 =09=09=09=09 =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1huang yaqin =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1hyq@gthome.com =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A12004-04-07