Re: Multiple-Table-Spanning Joins with ORs in WHERE Clause

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: "Sven R(dot) Kunze" <srkunze(at)mail(dot)de>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Multiple-Table-Spanning Joins with ORs in WHERE Clause
Date: 2016-09-29 19:11:34
Message-ID: CAFj8pRCRooD2--9T2uQ8+A9X1v-ToM0VBkJmWoNuR8e4R9dgiQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

2016-09-29 20:49 GMT+02:00 Sven R. Kunze <srkunze(at)mail(dot)de>:

> On 29.09.2016 20:12, Pavel Stehule wrote:
>
>> In ideal world then plan should be independent on used form. The most
>> difficult is safe estimation of OR predicates. With correct estimation the
>> transformation to UNION form should not be necessary I am think.
>>
>
> Ah, okay. That's interesting.
>
> So how can I help here?
>

try to write a patch :) or better, help with enhancing PostgreSQL's
estimation model. Tomas Vondra is working 2 years on multicolumn
statistics. He needs help with review.

Regards

Pavel

>
> Regards,
> Sven
>
>
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
>

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Jeff Janes 2016-09-29 20:26:09 Re: Multiple-Table-Spanning Joins with ORs in WHERE Clause
Previous Message Sven R. Kunze 2016-09-29 18:49:32 Re: Multiple-Table-Spanning Joins with ORs in WHERE Clause