Re: Performance - Mailing list pgsql-general

From Richard Broersma Jr
Subject Re: Performance
Date
Msg-id 20060423005352.56575.qmail@web31801.mail.mud.yahoo.com
Whole thread Raw
In response to Performance  ("Bert" <clemens.bertschler@gmail.com>)
Responses Re: Performance  (Shane Ambler <pgsql@007Marketing.com>)
List pgsql-general
I expect that you will need to post and explain analyze results of this query so that members of
the list can give you better feedback.

--- Bert <clemens.bertschler@gmail.com> wrote:

> Hi List
> I have maybe an easy question but i do not find an answer, i have this
> SQL query:
>
> SELECT geom,group,production_facs FROM south_america
>                WHERE municipio = ''
>                        OR municipio = 'ACRE'
>                        OR municipio = 'ADJUNTAS'
>                        OR municipio = 'AGUADA'
>
> The performance of this query is quite worse as longer it gets, its
> possible that this query gets over 20 to 30 OR comparisons, but then
> the performance is really worse, is it possible to speed it up?
> Thanks
> Clemens
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>


pgsql-general by date:

Previous
From: John Oliver
Date:
Subject: Problems logging in
Next
From: Richard Broersma Jr
Date:
Subject: Re: Problems logging in