Re: help

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tony Simbine <jantos-work(at)mvweb(dot)de>, pgsql-sql(at)postgresql(dot)org
Subject: Re: help
Date: 2003-06-12 17:10:45
Message-ID: 200306121010.45479.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Tony,

> I've a query which needs too many time ca. 12-15 sec.
> how can i get a better perfomance?

First of all, please take this to the PGSQL-PERFORMANCE list.

Second, see this web page:
http://techdocs.postgresql.org/guides/SlowQueryPostingGuidelines

> explain select o.id from ioobeject o,dist_vertron v where
> macro_lid=1123 and (o.id=v.id) and (o.deleted<>'1') and
> (o.status='activo') order by o.ort;

Third, from your explain, ioobject and dist_vertron are obviously somewhat
complex views. We need those view definitions, possibly plus schema for the
underlying tables (including indexes), or we can't help you.

--
Josh Berkus
Aglio Database Solutions
San Francisco

In response to

  • help at 2003-06-12 14:15:59 from Tony Simbine

Responses

  • Re: help at 2003-06-17 11:28:16 from Tony Simbine

Browse pgsql-sql by date

  From Date Subject
Next Message weigelt 2003-06-13 01:26:11 question on rules
Previous Message Achilleus Mantzios 2003-06-12 16:55:51 Re: (no subject)