Re: master/detail: master rows without details - Mailing list pgsql-general

From Merlin Moncure
Subject Re: master/detail: master rows without details
Date
Msg-id b42b73150812090502s1b1639dch8b89cca506b2154d@mail.gmail.com
Whole thread Raw
In response to master/detail: master rows without details  (Thomas Guettler <hv@tbz-pariv.de>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: et_EE locale not found in debian
Next
From: Thomas Guettler
Date:
Subject: Re: master/detail: master rows without details