From: | Yuya Watari <watari(dot)yuya(at)gmail(dot)com> |
---|---|
To: | David Rowley <dgrowleyml(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
Cc: | Andrey Lepikhov <a(dot)lepikhov(at)postgrespro(dot)ru>, Thom Brown <thom(at)linux(dot)com>, Zhang Mingli <zmlpostgres(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: [PoC] Reducing planning time when tables have many partitions |
Date: | 2023-07-05 09:57:56 |
Message-ID: | CAJ2pMkbsP4f4SvUx+GguQ1BaA8oVo4BfcLvy6--c3QqQcB8PAQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello,
On Fri, Mar 10, 2023 at 5:38 PM Yuya Watari <watari(dot)yuya(at)gmail(dot)com> wrote:
> Thank you for pointing it out. I have attached the rebased version to
> this email.
Recent commits, such as a8c09daa8b [1], have caused conflicts and
compilation errors in these patches. I have attached the fixed version
to this email.
The v19-0004 adds an 'em_index' field representing the index within
root->eq_members of the EquivalenceMember. This field is needed to
delete EquivalenceMembers when iterating them using the ec_members
list instead of the ec_member_indexes.
--
Best regards,
Yuya Watari
Attachment | Content-Type | Size |
---|---|---|
v19-0001-Add-Bitmapset-indexes-for-faster-lookup-of-Equiv.patch | application/octet-stream | 98.9 KB |
v19-0002-Fix-an-assertion.patch | application/octet-stream | 1.4 KB |
v19-0003-Move-EquivalenceMember-indexes-from-RelOptInfo-t.patch | application/octet-stream | 13.4 KB |
v19-0004-Fix-compilation-errors-in-remove_rel_from_eclass.patch | application/octet-stream | 4.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2023-07-05 10:16:48 | Re: brininsert optimization opportunity |
Previous Message | Daniel Gustafsson | 2023-07-05 09:51:15 | Re: Prevent psql \watch from running queries that return no rows |