Re: how to tune this query.

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: Luckys <plpgsql(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: how to tune this query.
Date: 2006-07-07 17:42:16
Message-ID: b42b73150607071042w623615a9ucde3a17c1770c5b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 7/4/06, Luckys <plpgsql(at)gmail(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message andy rost 2006-07-07 20:38:26 Re: Opteron/FreeBSD/PostgreSQL performance poor
Previous Message Dave Chapeskie 2006-07-07 16:05:56 Re: Update INSERT RULE while running for Partitioning