Re: How to increase postgresql performance

From: "Bret S(dot) Lambert" <bret(dot)lambert(at)gmail(dot)com>
To: fida aljounaidi <fida(dot)aljounaidi(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: How to increase postgresql performance
Date: 2010-02-02 10:56:41
Message-ID: 20100202105641.GA5363@FlamingKaty.my.domain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ian Lea 2010-02-02 11:00:22 Re: How to increase postgresql performance
Previous Message fida aljounaidi 2010-02-02 10:51:57 How to increase postgresql performance