pg.ddx.io pgsql-performance@postgresql.org mailing list archivehelp / 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 13:21:44 -0700
Message-ID: <4C114958.4080308@collab.net> (raw)
In-Reply-To: <4C11477A.5020909@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>
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
view thread (20+ messages) latest in thread
Message-ID: <4C114958.4080308@collab.net> Permalink: ../4C114958.4080308@collab.net/ Also on: postgresql.org/message-id/4C114958.4080308@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: <4C114958.4080308@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