Re: 7.3.1 New install, large queries are slow - Mailing list pgsql-performance

From Rod Taylor
Subject Re: 7.3.1 New install, large queries are slow
Date
Msg-id 1042660391.61110.36.camel@jester
Whole thread Raw
In response to 7.3.1 New install, large queries are slow  ("Roman Fail" <rfail@posportal.com>)
List pgsql-performance
I didn't see the query itself in the message, but it looks to me like
it's poorly formed.  Could you send it?

By quick glance, either you're using a bunch of explicit joins that are
poorly formed (you've made a bad choice in order) or those particular
IDs are really popular.  There are a number of sequential scans that
possibly should be index scans.

> EXPLAIN ANALYZE RESULTS:
> Limit  (cost=370518.31..370518.31 rows=1 width=540) (actual time=1168722.18..1168722.20 rows=5 loops=1)
>   ->  Sort  (cost=370518.31..370518.31 rows=1 width=540) (actual time=1168722.18..1168722.18 rows=5 loops=1)
>         Sort Key: b.batchdate

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

Attachment

pgsql-performance by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: 7.3.1 New install, large queries are slow
Next
From: Andrew Sullivan
Date:
Subject: Re: 7.3.1 New install, large queries are slow