Re: help

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: help
Дата
Msg-id 200306121010.45479.josh@agliodbs.com
обсуждение исходный текст
Ответ на help  (Tony Simbine <jantos-work@mvweb.de>)
Список 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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: control structures in plpgsql
Следующее
От: weigelt@metux.de
Дата:
Сообщение: question on rules