Re: How to increase postgresql performance

From: Scott Marlowe <scott(dot)marlowe(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:39:42
Message-ID: dcc563d11002021539p43507a3evdc357979a5c176e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Feb 2, 2010 at 3:51 AM, 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.

In addition to the things already posted, post your query and the
output of explain analyze yourquery to the list and let us have a
look.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Wang, Mary Y 2010-02-03 00:32:17 Re: Startup proc 30595 exited with status 512 - abort and FATAL 2: XLogFlush
Previous Message Kiswono Prayogo 2010-02-02 23:34:07 Re: How to increase postgresql performance