Re: performance - self-joins vs. subqueries

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: performance - self-joins vs. subqueries
Дата
Msg-id 23237.982021001@sss.pgh.pa.us
обсуждение исходный текст
Ответ на performance - self-joins vs. subqueries  ("K. Ari Krupnikov" <ari@iln.net>)
Список pgsql-general
"K. Ari Krupnikov" <ari@iln.net> writes:
> Many queries can be formulated as either a self-join or a subquery on
> the same table.
> Is there any difference in performance, or does the analyzer treat them
> the same?

You're a lot better off with a self-join, at present.

            regards, tom lane

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

Предыдущее
От: Paul M Foster
Дата:
Сообщение: Re: Importing a Database
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Howto install postgresql 7.03 on Darwin 1.2