From: Bret S. Lambert <bret.lambert@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 11:56:41 +0100
Message-ID: <20100202105641.GA5363@FlamingKaty.my.domain> (raw)
In-Reply-To: <ece0a951002020251j4010acfh673a902929c39b5f@mail.gmail.com>
References: <ece0a951002020251j4010acfh673a902929c39b5f@mail.gmail.com>
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
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: bret.lambert@gmail.com, fida.aljounaidi@gmail.com
Subject: Re: How to increase postgresql performance
In-Reply-To: <20100202105641.GA5363@FlamingKaty.my.domain>
* 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