pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Anne Rosset <arosset@collab.net>
To: Joe Conway <mail@joeconway.com>
Cc: Craig James <craig_james@emolecules.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Need to increase performance of a query
Date: Thu, 10 Jun 2010 14:20:15 -0700
Message-ID: <4C11570F.9050209@collab.net> (raw)
In-Reply-To: <4C1153D0.5060806@joeconway.com>
References: <4C1125F0.8090101@collab.net>
	<4C112B19.6080908@krogh.cc>
	<4C113098.5040105@collab.net>
	<98414706.20100610212211@erwied.eu>
	<4C113E2F.6000305@collab.net>
	<4C11413B.8080107@emolecules.com>
	<4C114381.3030900@collab.net>
	<4C11469A.8000706@joeconway.com>
	<4C11477A.5020909@joeconway.com>
	<4C114958.4080308@collab.net>
	<4C1153D0.5060806@joeconway.com>

Joe Conway wrote:
> On 06/10/2010 01:21 PM, Anne Rosset wrote:
>   
>>>   
>>>       
>> I tried that and it didn't make any difference. Same query plan.
>>     
>
> A little experimentation suggests this might work:
>
> create index item_rank_project on item_rank(project_id, rank) where
> pf_id IS NULL;
>
> Joe
>
>   
Yes it does. Thanks a lot!
Anne



view thread (20+ messages)

Message-ID: <4C11570F.9050209@collab.net>
Permalink:  ../4C11570F.9050209@collab.net/
Also on:    postgresql.org/message-id/4C11570F.9050209@collab.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: arosset@collab.net, mail@joeconway.com, craig_james@emolecules.com
  Subject: Re: Need to increase performance of a query
  In-Reply-To: <4C11570F.9050209@collab.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox