Re: Serious Performance Loss in 7.0.2??

From: Tim Perdue <tperdue(at)valinux(dot)com>
To: Andrew McMillan <Andrew(at)catalyst(dot)net(dot)nz>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Serious Performance Loss in 7.0.2??
Date: 2000-07-12 13:25:25
Message-ID: 396C71C5.719DAF45@valinux.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew McMillan wrote:
> PostgreSQL seems to not get the index choice right when you have index
> matches that are like =, =, =, DESC so you actually need to specify the
> ORDER BY clause in full like:
> ORDER BY mail_list DESC, mail_year DESC, mail_month DESC, mail_date
> DESC
> and things will hopefully be all OK again.

Wow - that definitely does *not* work. That took 1:30 to return the
result for the linux-kernel list.

My server has a load of 19.25 right now - at 6 AM.

Tim

--
Founder - PHPBuilder.com / Geocrawler.com
Lead Developer - SourceForge
VA Linux Systems
408-542-5723

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-07-12 13:37:36 Re: Vacuum only with 20% old tuples
Previous Message Tim Perdue 2000-07-12 13:17:23 Re: 7.0.2 issues / Geocrawler