Re: Why does row estimation on nested loop make no sense to me

From: Jeff Amiel <becauseimjeff(at)yahoo(dot)com>
To: "depesz(at)depesz(dot)com" <depesz(at)depesz(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Why does row estimation on nested loop make no sense to me
Date: 2013-05-20 14:01:27
Message-ID: 1369058487.15867.YahooMailNeo@web161405.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ok - I agree -

Can somebody help me understand where the row estimates come from on a nested-loop operation in postgres then?

----- Original Message -----
From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Jeff Amiel <becauseimjeff(at)yahoo(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Sent: Saturday, May 18, 2013 3:39 AM
Subject: Re: [GENERAL] Why does row estimation on nested loop make no sense
to me

Not sure if it helps, but it's apparently not a very rare thing.
Quick analysis on data from explain.depesz.com showed that > 12% of
plans with nested loop have such estimate.

Couple of examples:

http://explain.depesz.com/s/Qm4
http://explain.depesz.com/s/qmW
http://explain.depesz.com/s/qnG
http://explain.depesz.com/s/QO
http://explain.depesz.com/s/qov

...

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2013-05-20 14:16:40 Re: Deploying PostgreSQL on CentOS with SSD and Hardware RAID
Previous Message David Boreham 2013-05-20 05:12:09 Re: Deploying PostgreSQL on CentOS with SSD and Hardware RAID