Re: PGSQL 7.4 -> 8.1 migration & performance problem

From: Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my>
To: "Philippe Lang" <philippe(dot)lang(at)attiksystem(dot)ch>, "Arnaud Lesauvage" <thewild(at)free(dot)fr>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: PGSQL 7.4 -> 8.1 migration & performance problem
Date: 2006-06-05 03:39:44
Message-ID: 5.2.1.1.1.20060605113007.03ca21d0@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

You are getting 190+ secs on the new hardware and 235 secs on the old?

Is the CPU usage maxed out? Assuming linux run top and then press 1.

If in both cases the CPU's are maxed out, then that explains why they are
about the same speed = both are 3GHz Intel CPUs, and your DB fits in RAM.

I've really no idea how to improve your query or indexing...

Try EXPLAIN ANALYZE <your query here> and then look for the longest running
bits.

Link.

At 03:32 PM 6/1/2006 +0200, Philippe Lang wrote:

>Hi,
>
>I made some tests, with and without Hyperthreading: with hyperthreading, on
>a dual-processor, top mentions a 25% load, and without, 50%, but computing
>time is exactly the same.
>
>Philippe
>
>-----Message d'origine-----
>De : pgsql-general-owner(at)postgresql(dot)org
>[mailto:pgsql-general-owner(at)postgresql(dot)org] De la part de Arnaud Lesauvage
>Envoyé : mercredi, 31. mai 2006 16:20
>À : pgsql-general(at)postgresql(dot)org
>Objet : Re: [GENERAL] PGSQL 7.4 -> 8.1 migration & performance problem
>
>Philippe Lang a écrit :
> > Hardware is much more powerful: intel server motherboard, dual-xeon
> > 3GHz, SCSI disks (raid 1), 4GB RAM.
>
>Do you need the hyperthreading ?
>Depending on your case, you might have better results with 2x3GHz thant
>4x1.5GHz.
>
>--
>Arnaud
>
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>
>

Browse pgsql-general by date

  From Date Subject
Next Message Chris Velevitch 2006-06-05 04:23:35 Re: What is the point of create or replace view command
Previous Message Tom Lane 2006-06-05 02:44:50 Re: What is the point of create or replace view command