From: Scott Marlowe <scott.marlowe@gmail.com>
To: fida aljounaidi <fida.aljounaidi@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: How to increase postgresql performance
Date: Tue, 2 Feb 2010 16:39:42 -0700
Message-ID: <dcc563d11002021539p43507a3evdc357979a5c176e@mail.gmail.com> (raw)
In-Reply-To: <ece0a951002020251j4010acfh673a902929c39b5f@mail.gmail.com>
References: <ece0a951002020251j4010acfh673a902929c39b5f@mail.gmail.com>
On Tue, Feb 2, 2010 at 3:51 AM, fida aljounaidi
<fida.aljounaidi@gmail.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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: scott.marlowe@gmail.com, fida.aljounaidi@gmail.com
Subject: Re: How to increase postgresql performance
In-Reply-To: <dcc563d11002021539p43507a3evdc357979a5c176e@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox