Re: URGENT: Performance tuning

From: Curt Sampson <cjs(at)cynic(dot)net>
To: Peter Dimov <jquest_j(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: URGENT: Performance tuning
Date: 2002-06-23 05:47:28
Message-ID: Pine.NEB.4.43.0206231444550.542-100000@angelic.cynic.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, 22 Jun 2002, Peter Dimov wrote:

> First I tested with P II 400 MHz 256 MB RAM.
> And second Dual Athlon MP , 1.6 GHz , 1 or 2 GB RAM.
> I expected to get big advantage from the second system and
> was very supprise from the results : I wan only 30 - 40% faster as the first.

Well, did you analyze your load carefully? How much of your
application is CPU-bound, and how much is disk I/O bound? How much
memory do you need to cache the working set, if it can be cached
at all?

Disks are often very important for database work, far more so than
CPU or memory. I have an application with queries that run about
the same on a 600 MHz Pentium III and a dual 2 GHz Xeon system, if
you use the same disks.

> I think the mistake is by tuning....

Very likely.

cjs
--
Curt Sampson <cjs(at)cynic(dot)net> +81 90 7737 2974 http://www.netbsd.org
Don't you know, in this new Dark Age, we're all light. --XTC

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Hitesh 2002-06-23 06:21:17 postgresql to support 50GB of data?
Previous Message Peter Dimov 2002-06-23 05:15:02 Re: URGENT: Performance tuning