You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The size of Build hash table when using shuffle join is about sizeof(broadcast join hash table) / (mppStoreCnt). It will cost more time to construct Build hash table and search Probe while using broadcast join. Set a scale factor (mppStoreCnt^?) when estimating broadcast join in isJoinFitMPPBCJ and isJoinChildFitMPPBCJ (based on TPCH benchmark).
If the approximate exchange size of broadcast is smaller than hash, then we need to choose broadcast way.
TiFlash
Support data compression in Broadcast / Passthrough exchange operator
support data compression in broadcast/passthrough exchange
update parts of utils modules
For StorageDisaggregated, use latest mpp version for task meta.
MPP Broadcast Join Enhancement
Implementation
ref pingcap/tidb#40494
TiDB
Broadcast
/Passthrough
exchange operatortidb_prefer_broadcast_join_by_exchange_data_size
(release-7.1):tidb_broadcast_join_threshold_size
andtidb_broadcast_join_threshold_count
will be ignored if planner success to determine whether need broadcast.Build
hash table when using shuffle join is aboutsizeof(broadcast join hash table) / (mppStoreCnt)
. It will cost more time to constructBuild
hash table and searchProbe
while using broadcast join. Set a scale factor (mppStoreCnt^?
) when estimating broadcast join inisJoinFitMPPBCJ
andisJoinChildFitMPPBCJ
(based on TPCH benchmark).TiFlash
Support data compression in
Broadcast
/Passthrough
exchange operatorStorageDisaggregated
, use latest mpp version for task meta.Progress
Broadcast
/Passthrough
exchange operator #6880Broadcast
/Passthrough
exchange operator; optimize process about choosing Broadcast Join; tidb#41968tidb_prefer_broadcast_join_by_exchange_data_size
by default; set scale factor to optimize estimating broadcast join; tidb#42915Benchmark
ENV
Original Threshold x 10
: only update threshold about broadcast joinOptimize BCJ
After pingcap/tidb#42915
Benchmark: One MPP Store
ENV
The text was updated successfully, but these errors were encountered: