Re: Performance

From: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>
To: Bert <clemens(dot)bertschler(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Performance
Date: 2006-04-23 00:53:52
Message-ID: 20060423005352.56575.qmail@web31801.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)bertschler(at)gmail(dot)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
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Broersma Jr 2006-04-23 01:18:18 Re: Problems logging in
Previous Message John Oliver 2006-04-22 23:57:16 Problems logging in