Re: Postgres 7.4.9 slow!

From: Mario Splivalo <mario(dot)splivalo(at)mobart(dot)hr>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Postgres 7.4.9 slow!
Date: 2005-10-21 14:32:30
Message-ID: 1129905150.7740.5.camel@ekim
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Fri, 2005-10-21 at 10:20 -0400, Tom Lane wrote:
> Mario Splivalo <mario(dot)splivalo(at)mobart(dot)hr> writes:
> > I have a query that does COUNT, LEFT JOIN and GROUP BY from two tables.
> > One has 85000 records, and other has 1000000 records. I've been running
> > the tests on 7.4.3,
>
> Your later message shows 7.4.8. Which is it?
>
> > But, now I downloaded postgres 7.4.9, and i'm running the very same
> > query on the very same database with all the indices and constraints
> > beeing the same (also SET ENABLE_SEQSCAN TO OFF), and I get around
> > 90-110 seconds.
>
> You sure it's the very same? The version outputs suggest that these
> might be two different machines; certainly two very different compilers
> were used. One thing I'd wonder about is whether both databases were
> initialized in the same locale.

Yes, I realized that the new Ubuntu distribution hac gcc4 by default.
I'll compile again both 7.4.8 and 7.4.9 and my home PC, and see what
happens then.

My mention of 7.4.3 is a typo. It's 7.4.8 and 7.4.9.

Mike
--
Mario Splivalo
Mob-Art
mario(dot)splivalo(at)mobart(dot)hr

"I can do it quick, I can do it cheap, I can do it well. Pick any two."

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2005-10-21 14:42:52 Re: Delete rule chain stops unexpectedly
Previous Message Tom Lane 2005-10-21 14:20:07 Re: Postgres 7.4.9 slow!