andr-sokolov opened a new pull request, #1525:
URL: https://github.com/apache/cloudberry/pull/1525

   The default value of join_collapse_limit was 20. When this value is set and
   the query contains about 20 joins (see added test), Postgres query optimizer
   cannot build a plan during hours and consumes a lot of memory, because the
   planner checks a lot of possible ways to join the tables. 
   When join_collapse_limit is 8, the query plan is built in reasonable time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to