Thank you for the clarification. You’re right that the synthetic test doesn’t strongly constrain join order and, with the default join_collapse_limit , the DP comparison was limited.
I’m now preparing follow-up tests using selected JOB queries and adjusted planner settings to provide a fair and more realistic comparison. I’ll share the results soon.
Hi Tomas,
Following up on my previous message, I ran some additional tests using a few selected JOB queries with DP, GEQO and GOO under the same planner settings.
Overall, GOO consistently shows much lower planning time than DP, and is comparable to GEQO on larger join queries. Execution times are generally similar across the planners.