xiangfu0 opened a new pull request, #20344: URL: https://github.com/apache/pinot/pull/20344
In a star-schema query that joins orders to customers and products, `stageParallelism` can give each join several workers while one leaf worker still feeds them all. For a plain OFFLINE fact scan routed to one server, `SET leafStageWorkersPerServer=4` lets four workers read disjoint sets of segments and feed the first join. When both joins broadcast their dimensions, every worker already has the rows it needs for the next join. `SET fuseBroadcastJoins=true` lets the default MSE planner keep an eligible pair of inner equijoins in one stage and skip the second random exchange. Both options are opt-in. On 524,288 warm fact rows with four join workers on one Apache Pinot server, fusion alone removed a 524,288-row mailbox transfer and lowered median process CPU time from 71.24 to 66.00 ms per query, but increased median latency from 12.07 to 16.16 ms. All 245 focused tests passed, including a two-server comparison against H2. -- 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]
