Re: Optimize SELECT * from table WHERE foreign_key_id IN (key1,key2,key3,key4...) - Mailing list pgsql-performance

From Joshua D. Drake
Subject Re: Optimize SELECT * from table WHERE foreign_key_id IN (key1,key2,key3,key4...)
Date
Msg-id 513688B9.5080504@commandprompt.com
Whole thread Raw
In response to Re: Optimize SELECT * from table WHERE foreign_key_id IN (key1,key2,key3,key4...)  (Niels Kristian Schjødt <nielskristian@autouncle.com>)
Responses Re: Optimize SELECT * from table WHERE foreign_key_id IN (key1,key2,key3,key4...)
List pgsql-performance
On 03/05/2013 03:51 PM, Niels Kristian Schjødt wrote:

>> 3ms isn't slow
>>
> Sorry, it's 3323ms!
>
>>> Can I do anything to optimize that query or maybe the index or something?
>>
>> your index is already used
>
> Okay this leaves me with - "get better hardware" or?

What does explain analyze say versus just explain.

JD
--
Command Prompt, Inc. - http://www.commandprompt.com/
PostgreSQL Support, Training, Professional Services and Development
High Availability, Oracle Conversion, Postgres-XC
@cmdpromptinc - 509-416-6579


pgsql-performance by date:

Previous
From: Niels Kristian Schjødt
Date:
Subject: Re: Optimize SELECT * from table WHERE foreign_key_id IN (key1,key2,key3,key4...)
Next
From: Josh Berkus
Date:
Subject: Re: sniff test on some PG 8.4 numbers