execution: semi join takes too long to run #47424
Labels
severity/critical
sig/execution
SIG execution
type/enhancement
The issue or PR belongs to an enhancement.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
From https://asktug.com/t/topic/1014053/4
Prepare TPCH dataset with
sf=1
:Then the 2-way semi-join with
150000
rows takes 13s to run.The algorithm complexity is
O(150000.00 * log(150000.00))
, which shouldn't take such a long time to run.From the profile, it seems most time is spent on probe:
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: