Re: Beta3 much slower than Beta2

From: Neil Conway <neilc(at)samurai(dot)com>
To: Enrico Riedel <enricoriedel(at)thunderelectricinc(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Beta3 much slower than Beta2
Date: 2004-10-24 10:06:39
Message-ID: 417B7EAF.7000103@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Enrico Riedel wrote:
> To the setup: I use the Win32 version of PGRE SQL8. The table that I am
> working with has about 1.1M records in it and is indexed on several columns.
> By searching the indexed columns the DB used to be very fast. The data
> retrieval used to be more or less instantaneous. In Beta 3 it takes about 4
> seconds to retrieve the same amount of data. E.g. I searched for "EAG",
> which returns about 50 records. In B2 the retrieval time was less than 1s,
> in B3 it's about 3-4 seconds.

This is likely not a bug in beta3 as such; what has probably happened is
that the query planner is choosing a different query plan in beta3 than
was chosen in beta2. Without more information, it is difficult to say
exactly why a different plan is being chosen. Have you run ANALYZE
recently? If so, can you provide the schemas of the relevant tables, the
query that has changed in performance, and the EXPLAIN ANALYZE output
for that query against beta3?

-Neil

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Harald Armin Massa 2004-10-24 10:07:00 Re: Beta3 much slower than Beta2
Previous Message Tom Lane 2004-10-24 02:08:48 Re: [Slony1-general] Thread-safety detection on HP-UX