Re: master/detail: master rows without details

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Thomas Guettler" <hv(at)tbz-pariv(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: master/detail: master rows without details
Date: 2008-12-09 13:02:00
Message-ID: b42b73150812090502s1b1639dch8b89cca506b2154d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Dec 9, 2008 at 6:56 AM, Thomas Guettler <hv(at)tbz-pariv(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Guettler 2008-12-09 14:20:35 Re: master/detail: master rows without details
Previous Message Peter Eisentraut 2008-12-09 12:47:50 Re: et_EE locale not found in debian