Re: good pc but bad performance,why?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: huang yaqin <hyq(at)gthome(dot)com>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: good pc but bad performance,why?
Date: 2004-04-06 15:42:09
Message-ID: 25241.1081266129@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

huang yaqin <hyq(at)gthome(dot)com> 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 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?

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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Aaron Werman 2004-04-06 15:45:29 Re: possible improvement between G4 and G5
Previous Message Kaarel 2004-04-06 14:43:21 Re: performance comparission postgresql/ms-sql server