Serious Performance Loss in 7.0.2??

From: Tim Perdue <tperdue(at)valinux(dot)com>
To: pgsql-hackers(at)hub(dot)org
Subject: Serious Performance Loss in 7.0.2??
Date: 2000-07-12 00:35:52
Message-ID: 396BBD68.B508A48B@valinux.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I know you're all sick of hearing from me, but I'm passing this along
anyway. Looks like I need to go back down to 6.5.3 for some reason.

The following query is at the very heart of the site and it takes
upwards of 15-20 seconds to run now. It used to be instantaneous.

explain SELECT mailid, mail_date, mail_is_followup, mail_from,
mail_subject
FROM mail_archive WHERE mail_list=35 AND mail_year=2000
AND mail_month=1 ORDER BY mail_date DESC LIMIT 26 OFFSET 0;

NOTICE: QUERY PLAN:

Sort (cost=138.41..138.41 rows=34 width=44)
-> Index Scan using idx_mail_archive_list_yr_mo on tbl_mail_archive
(cost=0.00..137.55 rows=34 width=44)

EXPLAIN

Tim

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-07-12 00:40:50 Vacuum only with 20% old tuples
Previous Message Peter Eisentraut 2000-07-12 00:24:26 Re: Templates