pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: huang yaqin <hyq@gthome.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: good pc but bad performance,why?
Date: Tue, 06 Apr 2004 11:42:09 -0400
Message-ID: <25241.1081266129@sss.pgh.pa.us> (raw)
In-Reply-To: <0HVQ00E33PI95I@mail.gthome.com>
References: <0HVQ00E33PI95I@mail.gthome.com>

huang yaqin <hyq@gthome.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



view thread (23+ messages)  latest in thread

Message-ID: <25241.1081266129@sss.pgh.pa.us>
Permalink:  ../25241.1081266129@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25241.1081266129@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hyq@gthome.com
  Subject: Re: good pc but bad performance,why?
  In-Reply-To: <25241.1081266129@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox