From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: allowing extensions to control planner behavior |
Date: | 2024-08-27 20:15:35 |
Message-ID: | 3131957.1724789735@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> I believe the minimum viable product here
> is probably something like:
> - control over scan methods
> - control over index selection
> - control over join methods
> - control over join order
Seems reasonable. It might be possible to say that our answer
to "control over join order" is to provide a hook that can modify
the "joinlist" before it's passed to make_one_rel. If you want
to force a particular join order you can rearrange that
list-of-lists-of-range-table-indexes to do so. The thing this
would not give you is control over which rel is picked as outer
in any given join step. Not sure how critical that bit is.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Amonson, Paul D | 2024-08-27 20:42:14 | RE: Proposal for Updating CRC32C with AVX-512 Algorithm. |
Previous Message | Jeff Davis | 2024-08-27 20:09:10 | Re: Introduce new multi insert Table AM and improve performance of various SQL commands with it for Heap AM |