Re: How to increase postgresql performance - Mailing list pgsql-admin

From Ian Lea
Subject Re: How to increase postgresql performance
Date
Msg-id 8c4e68611002020300t37c78ef0jc6a0d211cd95b8ef@mail.gmail.com
Whole thread Raw
In response to Re: How to increase postgresql performance  ("Bret S. Lambert" <bret.lambert@gmail.com>)
List pgsql-admin
And maybe make sure that the id column is indexed, and see what
EXPLAIN says. http://wiki.postgresql.org/wiki/Using_EXPLAIN

--
Ian.


On Tue, Feb 2, 2010 at 10:56 AM, Bret S. Lambert <bret.lambert@gmail.com> wrote:
> On Tue, Feb 02, 2010 at 11:51:57AM +0100, fida aljounaidi wrote:
>> Hi
>>
>> I have an sql query which takes 20 seconds to be executed.
>>
>> this sql query contain more than 870 id under the select where in ()
>> condition.
>
> Add a column to the table which denotes the characteristic that those
> 870 ids share, and select based on that?
>
>>
>> So , it is not a large row result but a big list of conditions to be
>> crossed.
>>
>> I'm using postgresql 8.4.
>>
>> Thanks for help
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>

pgsql-admin by date:

Previous
From: "Bret S. Lambert"
Date:
Subject: Re: How to increase postgresql performance
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: Using pg_migrator to upgrade 8.3->8.4