Re: Asymmetric partition-wise JOIN
От
Alexander Pyhalov
Тема
Re: Asymmetric partition-wise JOIN
Дата
Msg-id
feba91824546bf8242a9c420286edc97@postgrespro.ru
Ответ на
Re: Asymmetric partition-wise JOIN (Andrey Lepikhov)
Список
Дерево обсуждения
Asymmetric partition-wise JOIN Kohei KaiGai <kaigai@heterodb.com>
Re: Asymmetric partition-wise JOIN Kohei KaiGai <kaigai@heterodb.com>
Re: Asymmetric partition-wise JOIN Thomas Munro <thomas.munro@gmail.com>
Re: Asymmetric partition-wise JOIN Kohei KaiGai <kaigai@heterodb.com>
Re: Asymmetric partition-wise JOIN Michael Paquier <michael@paquier.xyz>
Re: Asymmetric partition-wise JOIN Kohei KaiGai <kaigai@heterodb.com>
Re: Asymmetric partition-wise JOIN David Steele <david@pgmasters.net>
Re: Asymmetric partition-wise JOIN "Andrey V. Lepikhov" <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Daniel Gustafsson <daniel@yesql.se>
Re: Asymmetric partition-wise JOIN "Andrey V. Lepikhov" <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Daniel Gustafsson <daniel@yesql.se>
Re: Asymmetric partition-wise JOIN Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Re: Asymmetric partition-wise JOIN "Andrey V. Lepikhov" <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN "Andrey V. Lepikhov" <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Andrey Lepikhov <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Alexander Pyhalov <a.pyhalov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Andrey Lepikhov <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Zhihong Yu <zyu@yugabyte.com>
Re: Asymmetric partition-wise JOIN Andrey Lepikhov <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Alexander Pyhalov <a.pyhalov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Andrey Lepikhov <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Ibrar Ahmed <ibrar.ahmad@gmail.com>
Re: Asymmetric partition-wise JOIN Aleksander Alekseev <afiskon@gmail.com>
Re: Asymmetric partition-wise JOIN Jaime Casanova <jcasanov@systemguards.com.ec>
Re: Asymmetric partition-wise JOIN "Andrey V. Lepikhov" <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Andrey Lepikhov <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Alexander Pyhalov <a.pyhalov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Alexander Korotkov <aekorotkov@gmail.com>
Re: Asymmetric partition-wise JOIN Andrei Lepikhov <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Alexander Korotkov <aekorotkov@gmail.com>
Re: Asymmetric partition-wise JOIN Andrei Lepikhov <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Asymmetric partition-wise JOIN Andrei Lepikhov <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Asymmetric partition-wise JOIN Andrei Lepikhov <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Asymmetric partition-wise JOIN Andrei Lepikhov <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Andrei Lepikhov <lepihov@gmail.com>
Re: Asymmetric partition-wise JOIN Alexander Korotkov <aekorotkov@gmail.com>
Re: Asymmetric partition-wise JOIN Andrei Lepikhov <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Alexander Korotkov <aekorotkov@gmail.com>
Re: Asymmetric partition-wise JOIN Andrei Lepikhov <a.lepikhov@postgrespro.ru>
Re: Asymmetric partition-wise JOIN Amul Sul <sulamul@gmail.com>
Andrey Lepikhov писал 2021-07-06 12:28:
> On 5/7/21 23:15, Zhihong Yu wrote:
>> On Mon, Jul 5, 2021 at 2:57 AM Andrey Lepikhov
>> > wrote:
>> + * Can't imagine situation when join relation already
>> exists. But in
>> + * the 'partition_join' regression test it happens.
>> + * It may be an indicator of possible problems.
>> Should a log be added in the above case ?
> I made additional analysis of this branch of code. This situation can
> happen in the case of one child or if we join two plane tables with
> partitioned. Both situations are legal and I think we don't needed to
> add any log message here.
> Other mistakes were fixed.
Hi.
Small typo in comment in src/backend/optimizer/plan/setrefs.c:
281
282 /*
283 * Adjust RT indexes of AppendRelInfos and add to final
appendrels list.
284 * The AppendRelInfos are copied, because as a part of a
subplan its could
285 * be visited many times in the case of asymmetric join.
286 */
287 foreach(lc, root->append_rel_list)
288 {
its -> it (or they) ?
--
Best regards,
Alexander Pyhalov,
Postgres Professional
В списке pgsql-hackers по дате отправления
От: Dean Rasheed
Дата: