Re: Plan for outer joins

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: Plan for outer joins
Дата
Msg-id 45053E7A.7010402@magproductions.nl
обсуждение исходный текст
Ответ на Re: Plan for outer joins  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
Martijn van Oosterhout wrote:
> On Mon, Sep 11, 2006 at 11:58:56AM +0200, Alban Hertroys wrote:
>> Hi,
>>
>> I was tuning a join on a few tables for a SELECT COUNT(*) query, when I
>> realized that the content of the second table didn't actually matter to
>> the count. So, I figured a LEFT OUTER JOIN would be faster, but...
>> apparently it's not.
>
> Well, it would matter if the outer side of the join could return more
> than one row. You may know that won't happen, but the database may not.

Oh, of course. Thanks.

--
Alban Hertroys

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

Предыдущее
От: "Purusothaman A"
Дата:
Сообщение: Re: [ADMIN] Problem with lo_export() and lo_import() from remote machine.
Следующее
От: "Marco Bizzarri"
Дата:
Сообщение: Re: [ADMIN] Problem with lo_export() and lo_import() from remote machine.