Re: how to tune this query. - Mailing list pgsql-performance

From Merlin Moncure
Subject Re: how to tune this query.
Date
Msg-id b42b73150607071042w623615a9ucde3a17c1770c5b@mail.gmail.com
Whole thread Raw
In response to how to tune this query.  (Luckys <plpgsql@gmail.com>)
List pgsql-performance
On 7/4/06, Luckys <plpgsql@gmail.com> wrote:
>
> Hi all,
> I got this query, I'm having indexes for PropertyId and Dates columns across
> all the tables, but still it takes ages to get me the result. What indexes
> would be proposed on this, or I'm helpless?
>

I would suggest posting your table schemas and describe what you want
the results to look like.  After years of following this list, I
regard your query as something of a classic.  There simply has to be
an easier way of writing it.

merlin

pgsql-performance by date:

Previous
From: Dave Chapeskie
Date:
Subject: Re: Update INSERT RULE while running for Partitioning
Next
From: andy rost
Date:
Subject: Re: Opteron/FreeBSD/PostgreSQL performance poor