Re: totally different plan when using partitions - Mailing list pgsql-general

From Richard Huxton
Subject Re: totally different plan when using partitions
Date
Msg-id 4A8512D1.3060404@archonet.com
Whole thread Raw
In response to Re: totally different plan when using partitions  (Scara Maccai <m_lists@yahoo.it>)
List pgsql-general
Scara Maccai wrote:
>> Hmmm ... why is the inner Nested Loop estimated to produce
>> 30120 rows,
>> when the cartesian product of its inputs would only be 285
>> * 14 = 3990
>> rows?
>
> Oh my... didn't notice it!!!

It was doing the same thing here too:
   http://explain-analyze.info/query_plans/3807-query-plan-2511
Basically the same location too: nested loop over a seq-scan and an append.


--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Skylar Saveland
Date:
Subject: drop key translation
Next
From: Scara Maccai
Date:
Subject: Re: totally different plan when using partitions