From: | Claudio Freire <klaussfreire(at)gmail(dot)com> |
---|---|
To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | Johan Fredriksson <eskil(at)kth(dot)se>, postgres performance list <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: Performance problems with 9.2.15 |
Date: | 2016-07-21 21:12:47 |
Message-ID: | CAGTBQpZP4oo=AaU_9J8wm1uo65JELMiEV=6v84Z0AhNYjJjSnQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Thu, Jul 21, 2016 at 3:29 PM, David G. Johnston
<david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
> On Thu, Jul 21, 2016 at 2:24 PM, Claudio Freire <klaussfreire(at)gmail(dot)com>
> wrote:
>>
>> That cross join doesn't look right. It has no join condition.
>
>
> That is that the definition of a "CROSS JOIN"...
>
> David J.
Well, maybe it shouldn't be.
A cross join I mean.
I see the query and a cross join there doesn't make much sense.
There's no filtering of the output rows on the where clause either
AFAICT, and it's producing a lot of intermediate rows that don't seem
to be necessary. That was my point.
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Nasby | 2016-07-21 21:42:04 | Re: Seeing execution plan of foreign key constraint check? |
Previous Message | David G. Johnston | 2016-07-21 18:29:46 | Re: Performance problems with 9.2.15 |