Re: How to increase postgresql performance

From: Kiswono Prayogo <kiswono(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 23:34:07
Message-ID: 99024f5f1002021534h7e7a04e4vc865c90b012aef6b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

USE LEFT/JOIN instead of WHERE IN possibly would improve the performance..

On Tue, Feb 2, 2010 at 5:51 PM, fida aljounaidi
<fida(dot)aljounaidi(at)gmail(dot)com> 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.
>
> 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
>
>
>

--
Regards,
Kiswono P
GB

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2010-02-02 23:39:42 Re: How to increase postgresql performance
Previous Message Scott Marlowe 2010-02-02 23:17:07 Re: Startup proc 30595 exited with status 512 - abort and FATAL 2: XLogFlush