Postgres 8.3, four times slower queries? - Mailing list pgsql-performance

From Aaron Guyon
Subject Postgres 8.3, four times slower queries?
Date
Msg-id f0afbb9b0903021618w616f1158t84dbf119f0b72c70@mail.gmail.com
Whole thread Raw
Responses Re: Postgres 8.3, four times slower queries?
List pgsql-performance
Hi,

We are currently running postgres 8.2 and are evaluating the upgrade to 8.3.
Some of our tests are indicating that postgresql 8.3 is actually degrading the
performance of some of our queries by a factor of 10 or more.  The queries in
question are selects that are heavy on joins (~10 tables) with a lot of
timestamp-based conditions in where clauses.  The tables and queries are tuned,
that is, there is no issue with the table structure, or missing indexes.  This
is a side-by-side query performance measurement between 8.2 and 8.3 with an
identical dataset and schema.


                              8.2.12             8.3.3
                            Time (ms)        Time (ms)
                            1st   2nd        1st   2nd
                            time  time       time  time

Query 1                     759   130        3294  1758

attached you will find the explain analyze for this query.  Any insight into
this issue would be very appreciated.  Thanks.





Attachment

pgsql-performance by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: "slow" queries
Next
From: Tom Lane
Date:
Subject: Re: Postgres 8.3, four times slower queries?