Re: Poor plan when joining against a union containing a join
В списке pgsql-performance по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Poor plan when joining against a union containing a join |
| Дата | |
| Msg-id | 21700.1362635555@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Poor plan when joining against a union containing a join (Josh Berkus <josh@agliodbs.com>) |
| Ответы |
Re: Poor plan when joining against a union containing a join
|
| Список | pgsql-performance |
Josh Berkus <josh@agliodbs.com> writes:
> On 03/06/2013 06:54 AM, David Leverton wrote:
>> I'm encountering very poor query plans when joining against a union,
> Actually, in case #4, Postgres *is* pushing down the join qual into the
> segments of the Union.
Yeah, but not further. I believe the core issue here (as of 9.2) is
that we're not willing to generate parameterized paths for subquery
relations. We could do that without a huge amount of new code,
I think, but the scary thing is how much time it might take to generate
(and then discard most of the) plans for assorted parameterizations of
complicated subqueries.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера