Re: Need to increase performance of a query

From: Anne Rosset <arosset(at)collab(dot)net>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: Craig James <craig_james(at)emolecules(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Need to increase performance of a query
Date: 2010-06-10 20:21:44
Message-ID: 4C114958.4080308@collab.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Joe Conway wrote:
> On 06/10/2010 01:10 PM, Joe Conway wrote:
>
>> try:
>>
>> create index item_rank_null_idx on item_rank(pf_id)
>> where rank IS NOT NULL AND pf_id IS NULL;
>>
>
> oops -- that probably should be:
>
> create index item_rank_null_idx on item_rank(project_id)
> where rank IS NOT NULL AND pf_id IS NULL;
>
> Joe
>
>
I tried that and it didn't make any difference. Same query plan.

Anne

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Heikki Linnakangas 2010-06-10 20:59:54 Re: Need to increase performance of a query
Previous Message Greg Smith 2010-06-10 20:15:44 Re: Large (almost 50%!) performance drop after upgrading to 8.4.4?