Re: LEFT JOINs not optimized away when not needed

Поиск
Список
Период
Сортировка
От Moshe Jacobson
Тема Re: LEFT JOINs not optimized away when not needed
Дата
Msg-id CAJ4CxLn7QHOHVYeHWntEn-J4FS_gCT-m39jNzokbdYAZbkVoOg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: LEFT JOINs not optimized away when not needed  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: LEFT JOINs not optimized away when not needed  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-bugs
On Wed, Jul 9, 2014 at 1:33 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Right.  Yeah, I was not that excited about its usefulness either.
> However, the OP seems to think that it's a common optimization
> (I wonder if he can cite chapter and verse on which other DBMSes
> do it).
>

I make no claim about its commonness, but I think this type of optimization
is very useful when selecting a limited subset of the columns from a
complex view, particularly where the output rows are expected to be
distinct on the exact set of columns that are selected.


Moshe Jacobson
Manager of Systems Engineering, Nead Werx Inc. <http://www.neadwerx.com>
2323 Cumberland Parkway =C2=B7 Suite 201 =C2=B7 Atlanta, GA 30339

"Quality is not an act, it is a habit." -- Aristotle

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: LEFT JOINs not optimized away when not needed
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #10638: PL/Perl on Windows: need for perl514.dll