Re: master/detail: master rows without details

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: master/detail: master rows without details
Дата
Msg-id b42b73150812090502s1b1639dch8b89cca506b2154d@mail.gmail.com
обсуждение исходный текст
Ответ на master/detail: master rows without details  (Thomas Guettler <hv@tbz-pariv.de>)
Список pgsql-general
On Tue, Dec 9, 2008 at 6:56 AM, Thomas Guettler <hv@tbz-pariv.de> wrote:
> Hi,
>
> I have a two tables: master and detail.
> I search all master rows without a detail row.
>
> master: 10000 rows
> detail: 29800 rows
>
> Although all three solution have the same result, The execution time
> differs very much.

post your postgresql version.
btw, 8.4 is going to be much smarter about converting these types of
plans.  in the meantime, just use joins wherever possible.

merlin

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: et_EE locale not found in debian
Следующее
От: Thomas Guettler
Дата:
Сообщение: Re: master/detail: master rows without details