Open dbsid opened 2 years ago
Hello, guys, Any update on this issue? I am running the POC test for ChinaUnioncom and did not get the results for 6 hours, and it did not OOM, the plan is attached. query_38.sqlplanexplain.txt
This is an enhancement for AP and we would probably start to address optimizations like this later this year.
Enhancement
tpc-ds query 38 on 50G data set failed to execution on TiDB and cause OOM. Below are part of the query 38. the number of rows on two sides of the intersect is around two millions. currently the intersect need to go through CARTESIAN semi join, cause the data explosion and OOM. Suggest to handle intersect by a specific operator, which can check if all the columns are null values, to avoid using hash join CARTESIAN.