Re: another query optimization question

Поиск
Список
Период
Сортировка
От PC Drew
Тема Re: another query optimization question
Дата
Msg-id 7920BFE6-534F-11D8-9B98-000A95EA00C0@ibsncentral.com
обсуждение исходный текст
Ответ на another query optimization question  (David Teran <david.teran@cluster9.com>)
Список pgsql-performance
On Jan 30, 2004, at 11:00 AM, David Teran wrote:
>
> executing a select like this:
>
> select
> sum(job_property_difference(t0.int_value, t1.int_value)) as rank
>   from
>   job_property t0,
>   job_property t1
>   where
>   t0.id_job_profile = 911
>   and t0.id_job_attribute = t1.id_job_attribute
>   and t1.id_job_profile in (select id_job_profile from unemployed)
>   and t1.id_job_profile <> 911;
>
> results in a query plan result:
>

What's the goal here?  Are you trying to rank by how the int_value
relates to each other?  I'd like to know more about what kind of result
you're trying to achieve.

--
PC Drew


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

Предыдущее
От: David Teran
Дата:
Сообщение: another query optimization question
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: another query optimization question